diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2024-05-07 13:23:46 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2024-05-07 13:26:01 -0700 |
| commit | 38b2bd782b251b4d729ba8fd9daadc774f9b4008 (patch) | |
| tree | 8b988accafe9b375feb77da2996fce57b2451806 /compiler/rustc_errors/src/json.rs | |
| parent | 400e75494ab345e95125da2dd65433bacec2775a (diff) | |
| download | rust-38b2bd782b251b4d729ba8fd9daadc774f9b4008.tar.gz rust-38b2bd782b251b4d729ba8fd9daadc774f9b4008.zip | |
rustc: Change wasm32-wasip2 to PIC-by-default
This commit changes the new `wasm32-wasip2` target to being PIC by default rather than the previous non-PIC by default. This change is intended to make it easier for the standard library to be used in a shared object in its precompiled form. This comes with a hypothetical modest slowdown but it's expected that this is quite minor in most use cases or otherwise wasm compilers and/or optimizing runtimes can elide the cost.
Diffstat (limited to 'compiler/rustc_errors/src/json.rs')
0 files changed, 0 insertions, 0 deletions
