diff --git a/hil-test/.cargo/config.toml b/hil-test/.cargo/config.toml index b4e91a4d0dd..af2c1b6b4fa 100644 --- a/hil-test/.cargo/config.toml +++ b/hil-test/.cargo/config.toml @@ -20,3 +20,6 @@ rustflags = [ "-C", "link-arg=-Tembedded-test.x", ] + +[unstable] +build-std = ["core"] diff --git a/hil-test/Cargo.toml b/hil-test/Cargo.toml index 6eaa430087f..169c947c257 100644 --- a/hil-test/Cargo.toml +++ b/hil-test/Cargo.toml @@ -97,3 +97,6 @@ incremental = false lto = 'fat' opt-level = 3 # <- overflow-checks = false # <- + +[patch.crates-io] +semihosting = { git = "https://github.com/taiki-e/semihosting", branch = "xtensa2" }