diff options
| author | bors <bors@rust-lang.org> | 2018-08-08 01:24:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-08-08 01:24:15 +0000 |
| commit | 26d7b64237c6daa66064c8583b7aecf534c2a9ae (patch) | |
| tree | 1abd68a78dbab63a894988da5253c07e65ed10f2 /src/libsyntax/ext | |
| parent | 3f4f18f098183bf60820e4304433c4c4d9cceaaa (diff) | |
| parent | 7c58ab671fb49200c0cbd1ad9218713a5c3afe0d (diff) | |
| download | rust-26d7b64237c6daa66064c8583b7aecf534c2a9ae.tar.gz rust-26d7b64237c6daa66064c8583b7aecf534c2a9ae.zip | |
Auto merge of #52993 - alexcrichton:fix-some-vis, r=michaelwoerister
rustc: Tweak visibility of some lang items This commit tweaks the linker-level visibility of some lang items that rustc uses and defines. Notably this means that `#[panic_implementation]` and `#[alloc_error_handler]` functions are never marked as `internal`. It's up to the linker to eliminate these, not rustc. Additionally `#[global_allocator]` generated symbols are no longer forced to `Default` visibility (fully exported), but rather they're relaxed to `Hidden` visibility). This symbols are *not* needed across DLL boundaries, only as a local implementation detail of the compiler-injected allocator symbols, so `Hidden` should suffice. Closes #51342 Closes #52795
Diffstat (limited to 'src/libsyntax/ext')
0 files changed, 0 insertions, 0 deletions
