Skip to content

Commit

Permalink
Update path to rustc target spec files
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 16, 2021
1 parent 0508cb5 commit b85e281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b85e281

Please sign in to comment.