rust-embedded / svd2rust

Generate Rust register maps (`struct`s) from SVD files
Apache License 2.0
675 stars 147 forks source link

remove deny lints #766

Closed burrbull closed 7 months ago

burrbull commented 7 months ago

closes #763

burrbull commented 7 months ago

cc @Emilgardis what this error could mean?

ci/script.sh: line 66: RUST_TOOLCHAIN: unbound variable
thejpster commented 7 months ago

I think it means that bash variable didn't have a value. It's on the line where you check if it's a nightly Rust version. But you also set the variable in CI before you call the script, so I'm confused?

Emilgardis commented 7 months ago

the error is due to set -u, an easy fix is to use "${RUST_TOOLCHAIN:-}"