Open
Description
Two separate but related issues:
- The runtime source should only be emitted if
--include-runtime
is true, but the Rust backend ignores this optionand always emits it. - The code to emit the runtime source is in
RustBackend.CompileTargetProgram
, so it's only run if/compile
is at least 1, or the command isdafny build
orrun
ortest
. It should also be emitted even if/compile
is 0, or the command istranslate
.