Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 2 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
259bbfb
Add negation methods for signed non-zero integers.
jmillikin Sep 18, 2022
cca4828
Format type_of
compiler-errors Sep 26, 2022
05267b5
Make type_of work correctly for const arg bindings
compiler-errors Sep 26, 2022
92561f4
Support bindings with anon consts in generics
compiler-errors Sep 26, 2022
7f06d51
Don't export `__heap_base` and `__data_end` on wasm32-wasi.
sunfishcode Sep 28, 2022
cdae82c
nonzero_negation_ops: Set `issue = "102443"`.
jmillikin Sep 28, 2022
ceb53a3
nonzero_negation_ops: `inline(always)` -> `inline`.
jmillikin Sep 28, 2022
f55ea41
rustdoc: clean up "normalize.css 8" input override CSS
notriddle Sep 28, 2022
49b25d3
Improve example of Iterator::reduce
GuillaumeGomez Sep 28, 2022
269ff92
Use let-chaining in `WhileTrue::check_expr`.
nnethercote Sep 28, 2022
06624e8
fix minor ungrammatical sentence
granolocks Sep 29, 2022
1be9ec5
Rollup merge of #102336 - compiler-errors:issue-102333, r=jackh726
Dylan-DPC Sep 29, 2022
609152a
Rollup merge of #102342 - jmillikin:nonzero-negation, r=scottmcm
Dylan-DPC Sep 29, 2022
33553e1
Rollup merge of #102385 - sunfishcode:sunfishcode/wasm-no-export-heap…
Dylan-DPC Sep 29, 2022
b6d1c15
Rollup merge of #102435 - GuillaumeGomez:improve-iterator-reduce-exam…
Dylan-DPC Sep 29, 2022
5f18c2b
Rollup merge of #102436 - notriddle:notriddle/normalize-form, r=Guill…
Dylan-DPC Sep 29, 2022
34f02c3
Rollup merge of #102452 - granolocks:grammar-tweak, r=thomcc
Dylan-DPC Sep 29, 2022
f4e7094
Rollup merge of #102455 - nnethercote:WhileTrue-check_expr, r=lqd
Dylan-DPC Sep 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions compiler/rustc_codegen_ssa/src/back/linker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1320,10 +1320,12 @@ impl<'a> Linker for WasmLd<'a> {

// LLD will hide these otherwise-internal symbols since it only exports
// symbols explicitly passed via the `--export` flags above and hides all
// others. Various bits and pieces of tooling use this, so be sure these
// symbols make their way out of the linker as well.
self.cmd.arg("--export=__heap_base");
self.cmd.arg("--export=__data_end");
// others. Various bits and pieces of wasm32-unknown-unknown tooling use
// this, so be sure these symbols make their way out of the linker as well.
if self.sess.target.os == "unknown" {
self.cmd.arg("--export=__heap_base");
self.cmd.arg("--export=__data_end");
}
}

fn subsystem(&mut self, _subsystem: &str) {}
Expand Down