We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c35007d + 1a9def1 commit 5890563Copy full SHA for 5890563
library/profiler_builtins/build.rs
@@ -65,7 +65,7 @@ fn main() {
65
// This should be a pretty good heuristic for when to set
66
// COMPILER_RT_HAS_ATOMICS
67
if env::var_os("CARGO_CFG_TARGET_HAS_ATOMIC")
68
- .map(|features| features.to_string_lossy().to_lowercase().contains("cas"))
+ .map(|features| features.to_string_lossy().to_lowercase().contains("ptr"))
69
.unwrap_or(false)
70
{
71
cfg.define("COMPILER_RT_HAS_ATOMICS", Some("1"));
0 commit comments