rust/src/test/run-make
Alex Crichton 7c58ab671f 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
2018-08-07 08:42:38 -07:00
..
wasm-custom-section Fix WASM tests 2018-08-05 22:48:49 +01:00
wasm-custom-sections-opt rustc: Work around an upstream wasm ThinLTO bug 2018-07-18 12:12:53 -07:00
wasm-import-module rustc: Stabilize #[wasm_import_module] as #[link(...)] 2018-07-18 07:50:08 -07:00
wasm-panic-small std: Avoid allocating panic message unless needed 2018-04-13 07:04:24 -07:00
wasm-symbols-not-exported rustc: Tweak visibility of some lang items 2018-08-07 08:42:38 -07:00