File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11set -ex
22
33test_gen () {
4- cargo run -- target $TARGET -- release -- -i $td /$svd $1 > $td /src/lib.rs
4+ target/ $TARGET / release/svd2rust -i $td /$svd $1 > $td /src/lib.rs
55 echo ' extern crate volatile_register;' >> $td /src/lib.rs
6- cargo build --manifest-path $td /Cargo.toml --target $TARGET
6+ cargo build --manifest-path $td /Cargo.toml
77}
88
99main () {
10- cargo build --target $TARGET
11- cargo build --target $TARGET --release
10+ cross build --target $TARGET
11+ cross build --target $TARGET --release
1212
1313 if [ ! -z $DISABLE_TESTS ]; then
1414 return
@@ -24,7 +24,7 @@ main() {
2424 esac
2525
2626 # test crate
27- cargo init --name foo $td
27+ cross init --name foo $td
2828 echo ' volatile-register = "0.1.0"' >> $td /Cargo.toml
2929
3030 curl -L \
You can’t perform that action at this time.
0 commit comments