8000 Rollup of 16 pull requests by compiler-errors · Pull Request #98438 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Rollup of 16 pull requests #98438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 40 commits into from
Jun 24, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
95dc353
Fix documentation for with_capacity and reserve families of methods
jmaargh Apr 9, 2022
1deca04
Greatly improve error reporting for futures and generators in `note_o…
jyn514 Jun 19, 2022
1e7ab0b
point at private fields in struct literal
TaKO8Ki Jun 20, 2022
f001795
don't alloc error string if no error emitted
klensy Jun 20, 2022
b37a05b
rustdoc: optimize loading of source sidebar
jsha Jun 20, 2022
e900a35
Give name if anonymous region appears in impl signature
compiler-errors Jun 21, 2022
f924e74
Provide a segment res in more cases
compiler-errors Jun 20, 2022
761c846
Add `create_err` and `emit_err` to `ExtCtxt`
beetrees Jun 21, 2022
d6072e5
Add UI test for `cfg!(foo, bar)`
beetrees Jun 21, 2022
6264ffb
Migrate `builtin-macros-requires-cfg-pattern` to `SessionDiagnostic`
beetrees Jun 21, 2022
be5337c
Migrate `builtin-macros-expected-one-cfg-pattern` to `SessionDiagnostic`
beetrees Jun 21, 2022
8e09f42
Update Emscripten's no_default_libraries handling
hoodmane Jun 21, 2022
b052d76
Address review comments from #98259
jyn514 Jun 22, 2022
f847261
stop pointing at definitions of missing fields
TaKO8Ki Jun 22, 2022
46b2454
clarify Arc::clone overflow check comment
RalfJung Jun 22, 2022
eb86daa
add "was" to pluralize macro and use it
TaKO8Ki Jun 22, 2022
53481a5
implement `iter_projections` function on `PlaceRef`
rosefromthedead Jun 22, 2022
8e40d93
Filter out keyword items in rustdoc JSON output
GuillaumeGomez Jun 22, 2022
75ad2f7
Add test for keywords in rustdoc JSON output
GuillaumeGomez Jun 22, 2022
96cc0c6
triagebot.toml: Allow applying nominated labels
joshtriplett Jun 22, 2022
5cf5a52
triagebot.toml: Sort and wrap the list of allowed labels
joshtriplett Jun 22, 2022
24e0c44
Update books
ehuss Jun 22, 2022
b96ae9b
Set no_default_libraries: false in wasm32_emscripten target
hoodmane Jun 23, 2022
137d3c7
Update browser-ui-test version to 0.9.6
GuillaumeGomez Jun 23, 2022
262382f
Rollup merge of #96173 - jmaargh:jmaargh/with-capacity-doc-fix, r=Dyl…
compiler-errors Jun 23, 2022
49bcc70
Rollup merge of #98184 - compiler-errors:elided-lifetime-in-impl-nll,…
compiler-errors Jun 23, 2022
413e350
Rollup merge of #98259 - jyn514:improve-obligation-errors, r=estebank
compiler-errors Jun 23, 2022
3b68700
Rollup merge of #98269 - compiler-errors:provide-more-segment-res, r=…
compiler-errors Jun 23, 2022
41cb5e9
Rollup merge of #98283 - TaKO8Ki:point-at-private-fields-in-struct-li…
compiler-errors Jun 23, 2022
0ed2fec
Rollup merge of #98305 - klensy:no-err-alloc, r=compiler-errors
compiler-errors Jun 23, 2022
cc95225
Rollup merge of #98310 - jsha:defer-source-sidebar, r=GuillaumeGomez
compiler-errors Jun 23, 2022
21085e9
Rollup merge of #98353 - beetrees:builtin-macros-cfg-diag, r=davidtwco
compiler-errors Jun 23, 2022
cc45ad5
Rollup merge of #98355 - hoodmane:emscripten-no-default, r=petrochenkov
compiler-errors Jun 23, 2022
e749ba2
Rollup merge of #98364 - RalfJung:arc-clone, r=Mark-Simulacrum
compiler-errors Jun 23, 2022
667a546
Rollup merge of #98365 - jyn514:improve-obligation-errors-review-comm…
compiler-errors Jun 23, 2022
aafddd2
Rollup merge of #98388 - rosehuds:master, r=davidtwco
compiler-errors Jun 23, 2022
5620983
Rollup merge of #98390 - GuillaumeGomez:keyword-rustdoc-json, r=notri…
compiler-errors Jun 23, 2022
8db945f
Rollup merge of #98409 - joshtriplett:triagebot-nominated, r=Mark-Sim…
compiler-errors Jun 23, 2022
28b92ba
Rollup merge of #98410 - ehuss:update-books, r=ehuss
compiler-errors Jun 23, 2022
c9b1674
Rollup merge of #98422 - GuillaumeGomez:browser-ui-test-update, r=Dyl…
compiler-errors Jun 23, 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
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_ssa/src/back/linker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ impl<'a> Linker for EmLinker<'a> {
fn no_crt_objects(&mut self) {}

fn no_default_libraries(&mut self) {
self.cmd.args(&["-s", "DEFAULT_LIBRARY_FUNCS_TO_INCLUDE=[]"]);
self.cmd.arg("-nodefaultlibs");
}

fn export_symbols(&mut self, _tmpdir: &Path, _crate_type: CrateType, symbols: &[String]) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pub fn target() -> Target {
linker: None,
is_like_emscripten: true,
panic_strategy: PanicStrategy::Unwind,
no_default_libraries: false,
post_link_args,
families: cvs!["unix", "wasm"],
..options
Expand Down
0