Are the --features flags passed to rustc/cargo somehow available as literal strings/array?
Rationale: I want to inspect what features a user given when doing some checks in 'build.rs'
Looks like you can use environment variables like CARGO_FEATURE_XYZ
to detect this:
thanks least expected it as env var
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.