-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support compiler switches for std
feature
#47
Comments
I have a similar problem: I include tests like this.
The tests require
|
I'm running into what I assume is this issue when using [dependencies]
wmidi = { version = "4", default-features = false } But
The corresponding #[cfg(feature = "std")]
use std::error; Interestingly, another crate ( |
I'm running into a similar problem on
but apparently in the source code here: #[cfg(feature = "std")]
use std::error::Error; this issue is long-standing, any technical blocker preventing from being addressed? @hobofan |
@alxiong No explicit technical blocker, there is just no logic in place yet to track and evaluate compiler switches on individual use items (as evaluating arbitrary compiler switches was a rabbit hole I didn't want to go into). I'm overall maintaining the project passively, but if someone were to make a PR for it, I'll review it. |
If a crate has
this shouldn't result in FAILURE because the compiler switch deactivates the
use std::
The text was updated successfully, but these errors were encountered: