This is a helper tool to record the execution of a Rust test with rr, and replay it using termdebug. For more information, check :h termdebug.

Requirements

Minimum version of neovim: 0.9.0

Installation

Plug 'vlopes11/rrust.nvim'

Usage

Position your cursor on a Rust test, and run:

:lua require('rrust').RustRRTestRecord()

It will call rr to record the execution of the test.

To debug the test, run:

:lua require('rrust').RustRRTestReplay()

Etc

I created the following convenience bindings:

output

Read More

By |2023-04-11T14:09:39+00:00April 11, 2023|Entertainment|0 Comments

About the Author:

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.