|
|
|
|
|
by rustnote
1699 days ago
|
|
You might like this extension for VS Code: https://marketplace.visualstudio.com/items?itemName=rustnote... I just got it to a usable state today, does what you're asking which is run rust code without a main function. Just open a .md file and you're good to go. Also saves the outputs to markdown so you can upload to blog sites. I've only tried it on Linux btw might not work on other platforms. |
|