Update Cargo.toml files so docs.rs is happy (#492)

docs.rs is unhappy. I've updated the cargo-args so that it builds
correctly. Tested locally and it works with this change.

- [x] no changelog update needed
This commit is contained in:
Gwilym Inzani 2023-10-04 16:51:19 +01:00 committed by GitHub
commit f6fdcc8991
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -24,6 +24,7 @@ rustc-hash = { version = "1", default-features = false }
[package.metadata.docs.rs]
default-target = "thumbv4t-none-eabi"
cargo-args = ["-Zbuild-std=core,alloc"]
[profile.dev]
opt-level = 3

View file

@ -27,3 +27,4 @@ debug = true
[package.metadata.docs.rs]
default-target = "thumbv4t-none-eabi"
cargo-args = ["-Zbuild-std=core,alloc"]