generated from rust-vmm/crate-template
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds `no_std` support by - adding a default `std` feature for disabling `impl Error` on `no_std`. - adding the Hashbrown dependency for `no_std` hash sets Hashbrown also provides the `HashSet` implementation in `std`. `std`'s `HashSet` is not in liballoc yet, though. By default, Hashbrown uses AHash as the default hasher. AHash is much faster than `std`'s SipHash, but is not as HashDoS resistant. That seemed not relevant to me. Co-authored-by: Andreea Florescu <[email protected]> Signed-off-by: Martin Kröning <[email protected]>
- Loading branch information
1 parent
d5fe563
commit 71d27b6
Showing
5 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"tests": [ | ||
{ | ||
"test_name": "build-alloc", | ||
"command": "rustup target add {target_platform}-unknown-none && env RUSTFLAGS=\"-D warnings\" cargo build --release --target {target_platform}-unknown-none --no-default-features --features alloc", | ||
"platform": [ | ||
"x86_64", | ||
"aarch64" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters