From b85e28166c2c0992d423015524965632bb7fee87 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 16 Dec 2021 11:05:58 -0800 Subject: [PATCH] Update path to rustc target spec files --- serde/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serde/build.rs b/serde/build.rs index 35a74a5c..c5307ab4 100644 --- a/serde/build.rs +++ b/serde/build.rs @@ -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")