esp32 rust 메모
설치 참고
xargo를 위한 환경변수
export XARGO_RUST_SRC=$MY_BUILD_ROOT/rust-xtensa/src
export RUSTC=$MY_BUILD_ROOT/rust_build/bin/rustc
.cargo/config
[build]
target = "xtensa-esp32-none-elf"
Cargo.toml
[profile.dev]
lto = false
incremental = false
debug = false
codegen-units = 1
[profile.release]
lto = false
incremental = false
debug = false
codegen-units = 1
빌드: xargo build