diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-03-10 17:55:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-10 17:55:41 +0100 |
| commit | 881bbb758a928b60d790936280d4ee3c38e05eaf (patch) | |
| tree | a5290c008935b95c44de7d983b285930d2db4f0b /src/bootstrap | |
| parent | 9ac57b15208351ff2d23bf9a1ce45dc7d469b618 (diff) | |
| parent | fdb899ba4bd5dffab4eec9ea575991ec5499a527 (diff) | |
| download | rust-881bbb758a928b60d790936280d4ee3c38e05eaf.tar.gz rust-881bbb758a928b60d790936280d4ee3c38e05eaf.zip | |
Rollup merge of #82924 - sunfishcode:wasi-command, r=alexcrichton
WASI: Switch to crt1-command.o to enable support for new-style commands This switches Rust's WASI target to use crt1-command.o instead of crt1.o, which enables support for new-style commands. By default, new-style commands work the same way as old-style commands, so nothing immediately changes here, but this will be needed by later changes to enable support for typed arguments. See here for more information on new-style commands: - https://github.com/WebAssembly/wasi-libc/pull/203 - https://reviews.llvm.org/D81689 r? ```@alexcrichton```
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/compile.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs index 24800b7886d..9398f211721 100644 --- a/src/bootstrap/compile.rs +++ b/src/bootstrap/compile.rs @@ -210,7 +210,7 @@ fn copy_self_contained_objects( panic!("Target {:?} does not have a \"wasi-root\" key", target.triple) }) .join("lib/wasm32-wasi"); - for &obj in &["crt1.o", "crt1-reactor.o"] { + for &obj in &["crt1-command.o", "crt1-reactor.o"] { copy_and_stamp( builder, &libdir_self_contained, |
