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
Non-Cargo build systems (Bazel, Buck, ...) usually have other ways to encode things that Cargo typically expects build.rs scripts to do, like invoking bindgen, controlling features based on target, running code generators, etc.
It would be helpful if building Serde without its build script could produce a reasonable default modern Serde, rather than a pessimistic maximally compatible Serde with everything newer than rustc 1.13.0 disabled.
Concretely this will involve negating all the rustc-cfg emitted by the current build.rs.
- if minor >= 25 {- println!("cargo:rustc-cfg=core_duration");- }+ if minor < 25 {+ println!("cargo:rustc-cfg=no_core_duration");+ }
The text was updated successfully, but these errors were encountered:
Non-Cargo build systems (Bazel, Buck, ...) usually have other ways to encode things that Cargo typically expects build.rs scripts to do, like invoking bindgen, controlling features based on target, running code generators, etc.
It would be helpful if building Serde without its build script could produce a reasonable default modern Serde, rather than a pessimistic maximally compatible Serde with everything newer than rustc 1.13.0 disabled.
Concretely this will involve negating all the rustc-cfg emitted by the current build.rs.
The text was updated successfully, but these errors were encountered: