diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-01-22 12:58:56 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-01-26 23:48:08 -0800 |
| commit | 3d6f263b2a162974725cdcb914ba9ad9c2dbef84 (patch) | |
| tree | 613b60c64368c1877f07193a5a6b86cb8bbf59c4 /src/liballoc_jemalloc | |
| parent | a5561ce2b94c33add47d288e1826183c511ec9fa (diff) | |
| download | rust-3d6f263b2a162974725cdcb914ba9ad9c2dbef84.tar.gz rust-3d6f263b2a162974725cdcb914ba9ad9c2dbef84.zip | |
std: Compile libbacktrace with -fvisibility=hidden
We don't want these symbols exported from the standard library, this is just an internal implementation detail of the standard library currently. Closes #34984
Diffstat (limited to 'src/liballoc_jemalloc')
| -rw-r--r-- | src/liballoc_jemalloc/pthread_atfork_dummy.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/liballoc_jemalloc/pthread_atfork_dummy.c b/src/liballoc_jemalloc/pthread_atfork_dummy.c index f798afe741f..4e3df0ab26c 100644 --- a/src/liballoc_jemalloc/pthread_atfork_dummy.c +++ b/src/liballoc_jemalloc/pthread_atfork_dummy.c @@ -1,3 +1,13 @@ +// Copyright 2017 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + // See comments in build.rs for why this exists int pthread_atfork(void* prefork, void* postfork_parent, |
