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
Copy file name to clipboardExpand all lines: text/3857-cfg-version.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -283,7 +283,16 @@ While that isn't always true today (e.g. some Cargo features go from "unknown" w
283
283
having distinct implementations for different Rust versions can make the testing matrix more complex.
284
284
Tools like [`cargo hack`](https://crates.io/crates/cargo-hack) can help which can run commands on not just one toolchain version but also the every version starting with the MSRV with a command like `cargo hack --rust-version --version-step 1 check`.
285
285
286
-
This does not help with probes for specific implementations of nightly features which still requires having a `build.rs`.
286
+
This does not help with identifying nightlies that a feature is available on or compatible with which will still require a `build.rs`.
287
+
In terms of doing this via build probes,
288
+
Cargo team has previously rejected support for build probes
runs counter to the spirit of nightly (works like stable except where you opt-in)
294
+
and cause problems if the checks are incorrect which has broken many crates nightly builds in the past
295
+
and has even caused friction in changing unstable features within the compiler.
287
296
288
297
Libraries could having ticking time bombs that accidentally break or have undesired behavior for some future Rust version that can't be found until we hit that version.
0 commit comments