mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-10 06:09:21 +00:00

Use TargetTriple::from_path in rustdoc This fixes the problem reported in https://github.com/Rust-for-Linux/linux/pull/272 where rustdoc requires the absolute path of a target spec json instead of accepting a relative path like rustc.