diff options
| author | Samuel Holland <samuel@sholland.org> | 2017-08-22 16:24:29 -0500 |
|---|---|---|
| committer | Samuel Holland <samuel@sholland.org> | 2017-08-22 16:24:29 -0500 |
| commit | 12ceed013cdbd5d431a6908d49b2b6cb6fe1d032 (patch) | |
| tree | aacbf2a92dbe3cdd43fa92c8e7e81094c7c37ace /src/rustllvm/RustWrapper.cpp | |
| parent | beb8abe9a5045a232b423b909b7aaffecbf8bafc (diff) | |
| download | rust-12ceed013cdbd5d431a6908d49b2b6cb6fe1d032.tar.gz rust-12ceed013cdbd5d431a6908d49b2b6cb6fe1d032.zip | |
Introduce target feature crt_static_allows_dylibs
Most UNIX-like platforms do not allow shared libraries to statically link their own libc, as libc expects to have consistent process-global state. On those platforms, when we do not have a shared libc available, we must not attempt to link dylibs or cdylibs. On Windows, however, it is expected to statically link the CRT into dynamic libraries. This feature is only relevant for targets that support both fully-static and fully-dynamic linkage, such as musl on Linux.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
