We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 445f34b commit 913b639Copy full SHA for 913b639
library/profiler_builtins/build.rs
@@ -50,6 +50,11 @@ fn main() {
50
cfg.flag("-fno-builtin");
51
cfg.flag("-fvisibility=hidden");
52
cfg.flag("-fomit-frame-pointer");
53
+
54
+ // Suppresses: `warning: .../GCDAProfiling.c... destructor priorities from 0 to 100 are
55
+ // reserved for the implementation`
56
+ cfg.flag_if_supported("-Wno-prio-ctor-dtor");
57
58
cfg.define("VISIBILITY_HIDDEN", None);
59
if !target.contains("windows") {
60
cfg.define("COMPILER_RT_HAS_UNAME", Some("1"));
0 commit comments