capsule icon indicating copy to clipboard operation
capsule copied to clipboard

Cargo mode for building rust contracts?

Open blckngm opened this issue 2 years ago • 1 comments
trafficstars

Add an option to use cargo instead of cross?

This would require natively installed riscv64-unknown-elf-gcc instead of cross and docker.

This can be an option in the config file and can be overridden with an environment variable.

blckngm avatar May 08 '23 07:05 blckngm

Just noticed that gcc is not necessary if there's no C code to build. Default linker is rust-lld.

blckngm avatar May 09 '23 06:05 blckngm