File tree 1 file changed +0
-4
lines changed
src/librustc_codegen_ssa/back
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -1010,9 +1010,6 @@ impl<'a> WasmLd<'a> {
1010
1010
// sharing memory and instantiating the module multiple times. As a
1011
1011
// result if it were exported then we'd just have no sharing.
1012
1012
//
1013
- // * `--passive-segments` - all memory segments should be passive to
1014
- // prevent each module instantiation from reinitializing memory.
1015
- //
1016
1013
// * `--export=__wasm_init_memory` - when using `--passive-segments` the
1017
1014
// linker will synthesize this function, and so we need to make sure
1018
1015
// that our usage of `--export` below won't accidentally cause this
@@ -1026,7 +1023,6 @@ impl<'a> WasmLd<'a> {
1026
1023
cmd. arg ( "--shared-memory" ) ;
1027
1024
cmd. arg ( "--max-memory=1073741824" ) ;
1028
1025
cmd. arg ( "--import-memory" ) ;
1029
- cmd. arg ( "--passive-segments" ) ;
1030
1026
cmd. arg ( "--export=__wasm_init_memory" ) ;
1031
1027
cmd. arg ( "--export=__wasm_init_tls" ) ;
1032
1028
cmd. arg ( "--export=__tls_size" ) ;
You can’t perform that action at this time.
0 commit comments