Update path to rustc target spec files

This commit is contained in:
David Tolnay 2021-12-16 11:05:58 -08:00
parent 0508cb50fc
commit b85e28166c
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -91,7 +91,7 @@ fn main() {
// Whitelist of archs that support std::sync::atomic module. Ideally we
// would use #[cfg(target_has_atomic = "...")] but it is not stable yet.
// Instead this is based on rustc's src/librustc_target/spec/*.rs.
// Instead this is based on rustc's compiler/rustc_target/src/spec/*.rs.
let has_atomic64 = target.starts_with("x86_64")
|| target.starts_with("i686")
|| target.starts_with("aarch64")