Skip to content

Commit

Permalink
Fix warning whe building profiler_builtins crate
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 committed Sep 4, 2020
1 parent ed3950b commit 1ea121c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/profiler_builtins/build.rs
Expand Up @@ -48,10 +48,10 @@ fn main() {
// Turn off various features of gcc and such, mostly copying
// compiler-rt's build system already
cfg.flag("-fno-builtin");
cfg.flag("-fvisibility=hidden");
cfg.flag("-fomit-frame-pointer");
cfg.define("VISIBILITY_HIDDEN", None);
if !target.contains("windows") {
cfg.flag("-fvisibility=hidden");
cfg.define("COMPILER_RT_HAS_UNAME", Some("1"));
} else {
profile_sources.push("WindowsMMap.c");
Expand Down

0 comments on commit 1ea121c

Please sign in to comment.