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
Notice I didn't say simpler.
This does a quite a few things:
- Pins a version of nightly using `rust-toolchain`. This avoids
confusion when rustc changes its API in a later version. When rebasing
over rust-lang/master, rust-toolchain should also be updated.
- Replaces CUSTOM_RUSTDOC with `rustup toolchain link`, which allows
determining the sysroot without hardcoding `.rustup/toolchain` in the
instructions (*not* the binary).
- Replaces 'copy paste what cargo did with additional arguments' with `cargo rustdoc`
- Determines the sysroot in `src/main.rs` with rustup instead of
hard-coding it. This is an absolute hack, see the comments for details,
but it's used by clippy and miri so it works in practice.
- Minor changes to the README to distinguish the current directory
0 commit comments