You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0433]: failed to resolve: could not find `std` in the list of imported crates
--> src\sanitizers\deduplicator.rs:74:9
|
74 | assert_eq!(iter.next(), Some('1'));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `std` in the list of imported crates
|
= note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
(feature gating every single test with the std feature would be really annoying, especially when the std feature is disabled by default)
Hey, thanks for the report. I've put together a PR which I think should provide no_std support, as long as you still have an allocator: #83
I don't have masses of experience with no_std support - if you could verify this fix works for your use case, I'll be able to merge and release it faster. You can try out the patch with something like:
It fails with:
(feature gating every single test with the std feature would be really annoying, especially when the std feature is disabled by default)
The macro expands in
0.7
to something like this:Previously (
0.6
), it expanded toRelated issue: KokaKiwi/rust-hex#63
The text was updated successfully, but these errors were encountered: