I'm playing around with writing Rust snippets in my editor. I can get org mode to format my things nicely and play nicely with rust-mode
. But I can't evaluate my code snippets. I think that may be because Rust isn't strictly a scripting language, as the suggestive error,
"error: no such subcommand: script
"
provides, when I try to expand my rust source blocks. I could be just misunderstanding though.
Edit: I figured out how to solve my problem but minutes later, see answer below. I've moved onto a new question though: how I might run a linter or flycheck in org-mode.