Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
477 commits
Select commit Hold shift + click to select a range
5547d92
Document "standard" conventions for error messages
matklad Apr 2, 2021
03ba8ab
Rollup merge of #83535 - MidasLamb:mir-type-count-mismatch, r=nikomat…
JohnTitor Apr 2, 2021
080aa37
Rollup merge of #83721 - GuillaumeGomez:copy-use, r=Nemo157
JohnTitor Apr 2, 2021
417e6b1
Rollup merge of #83740 - obi1kenobi:patch-1, r=joshtriplett
JohnTitor Apr 2, 2021
39059fb
Rollup merge of #83745 - JohnTitor:jtitor-mailmap, r=Mark-Simulacrum
JohnTitor Apr 2, 2021
1dfbca9
Rollup merge of #83754 - GuillaumeGomez:search-tab-behaviour, r=jyn514
JohnTitor Apr 2, 2021
a207871
Auto merge of #83781 - JohnTitor:rollup-1vm3dxo, r=JohnTitor
bors Apr 2, 2021
36bcf40
Auto merge of #83468 - hi-rustin:rustin-patch-lint, r=nikomatsakis
bors Apr 2, 2021
c86e098
Introduce `get_process_heap` and fix atomic ordering.
CDirkx Apr 2, 2021
db1d003
Remove `debug_assert`
CDirkx Apr 2, 2021
3166e08
Monomorphization doc fix
digama0 Apr 2, 2021
e01c3b8
clarify wording
digama0 Apr 2, 2021
99f3e88
fix
digama0 Apr 2, 2021
23fa536
Auto merge of #76881 - hameerabbasi:issue-53325, r=oli-obk
bors Apr 2, 2021
fb7cf09
Don't suggest dereferencing an `else if` expression
LeSeulArtichaut Apr 1, 2021
48ebad5
Rollup merge of #83065 - CDirkx:win-alloc, r=dtolnay
Dylan-DPC Apr 2, 2021
31f5320
Rollup merge of #83478 - jyn514:fine-grained-files, r=Mark-Simulacrum
Dylan-DPC Apr 2, 2021
542f441
Rollup merge of #83629 - the8472:fix-inplace-panic-on-drop, r=m-ou-se
Dylan-DPC Apr 2, 2021
6cb74ad
Rollup merge of #83673 - hi-rustin:rustin-patch-suggestion, r=estebank
Dylan-DPC Apr 2, 2021
7009117
Rollup merge of #83755 - richkadel:cov-test-simplify, r=tmandry
Dylan-DPC Apr 2, 2021
eed73c6
Rollup merge of #83757 - sexxi-goose:migrations_out, r=nikomatsakis
Dylan-DPC Apr 2, 2021
cb7133f
Rollup merge of #83771 - asomers:stack_overflow_freebsd, r=dtolnay
Dylan-DPC Apr 2, 2021
5f96c48
rustdoc: Rename internal uses of `spotlight`
camelid Apr 1, 2021
1fe0fe4
rustdoc: Remove unused `spotlight` CSS
camelid Apr 1, 2021
138fd56
Auto merge of #83790 - Dylan-DPC:rollup-p6ep8jo, r=Dylan-DPC
bors Apr 2, 2021
617e135
rustdoc: highlight macros more efficiently
notriddle Mar 15, 2021
e4244e3
Don't load all extern crates unconditionally
jyn514 Apr 1, 2021
2f000a7
Manually set dso_local when its valid to do so
nagisa Mar 27, 2021
64af7ea
Move SanitizerSet to rustc_target
nagisa Feb 7, 2021
16c1d0a
Maintain supported sanitizers as a target property
nagisa Feb 7, 2021
a3c0f0a
(De-)serialize the supported_sanitizers
nagisa Feb 13, 2021
41875c8
rm target specific logic in link_sanitizer_runtime
nagisa Feb 15, 2021
2fb1fb7
Fix diagnostic issue when using FakeReads in closures
roxelo Mar 26, 2021
0a97eee
Reduce size of statements
roxelo Mar 30, 2021
c29dc12
fix clippy error
roxelo Mar 30, 2021
9b6c9b6
Auto merge of #81866 - nagisa:nagisa/sanitizer-support-target-prop, r…
bors Apr 2, 2021
7ceff68
Translate counters from Rust 1-based to LLVM 0-based counter ids
Apr 2, 2021
f64038f
rustdoc: update macro highlight tests
notriddle Apr 3, 2021
621d4b7
Auto merge of #83506 - asomers:backtrace-0.3.56, r=Mark-Simulacrum
bors Apr 3, 2021
cb17136
Auto merge of #83599 - jyn514:unorderable, r=Aaron1011
bors Apr 3, 2021
836c317
Auto merge of #83774 - richkadel:zero-based-counters, r=tmandry
bors Apr 3, 2021
c35a36f
tidy: Add ignore-rules for the line length check
Anthuang Oct 15, 2020
944b53e
add fp-armv8 for ARM_ALLOWED_FEATURES
surechen Apr 3, 2021
3cfa0a0
Remove nightly features in rustc_type_ir
detrumi Apr 3, 2021
ccd9975
Auto merge of #83549 - sjakobi:no-tidy-line-length-1, r=Mark-Simulacrum
bors Apr 3, 2021
640ce99
Auto merge of #83738 - jyn514:only-load-some-crates, r=petrochenkov
bors Apr 3, 2021
3ea7c90
Add fixme comment to revert change once const_panic is stable
detrumi Apr 3, 2021
bda6d1f
Add safety comment to StableAddress impl for Mmap
bjorn3 Apr 3, 2021
97717a5
Auto merge of #83682 - bjorn3:mmap_wrapper, r=cjgillot
bors Apr 3, 2021
7b05cff
Fix rustc_lint_defs documentation typo
benmezger Apr 3, 2021
3b40d2c
Rollup merge of #82487 - CDirkx:const-socketaddr, r=m-ou-se
JohnTitor Apr 3, 2021
0daec04
Rollup merge of #83756 - camelid:internal-rename-doc-spotlight, r=Gui…
JohnTitor Apr 3, 2021
961fa63
Rollup merge of #83780 - matklad:doc-error-message, r=JohnTitor
JohnTitor Apr 3, 2021
6a436aa
Rollup merge of #83787 - digama0:patch-1, r=bjorn3
JohnTitor Apr 3, 2021
d0266e3
Rollup merge of #83803 - surechen:add_target_feature, r=petrochenkov
JohnTitor Apr 3, 2021
d636b0a
Rollup merge of #83804 - detrumi:build-type-ir-on-stable, r=petrochenkov
JohnTitor Apr 3, 2021
b2daca7
Rollup merge of #83810 - benmezger:update-builtin-docs-typo, r=jonas-…
JohnTitor Apr 3, 2021
8eed8ed
Move log's short part to first
ldm0 Apr 3, 2021
cd22425
expand: Do not ICE when a legacy AST-based macro attribute produces a…
petrochenkov Apr 3, 2021
a4a6bdd
addr_of_mut: add example for creating a pointer to uninit data
RalfJung Apr 3, 2021
b93137a
explain that even addr_of cannot deref a NULL ptr
RalfJung Apr 3, 2021
3982ac2
Optimize out unneeded type resolving
ldm0 Apr 3, 2021
5839bff
Remove attribute `#[link_args]`
petrochenkov Apr 3, 2021
23325ca
Make rust-demangler installable
Mar 26, 2021
c2a8bfe
Changed function signature to keep buffer handling out of lib
Mar 29, 2021
81f00c9
Trigger `unused_doc_comments` on macros at once
JohnTitor Apr 3, 2021
815de0e
Move a `unused_doc_comments ` test to the `unused` dir
JohnTitor Apr 3, 2021
3ea62cb
Remove redundant `ignore-tidy-linelength` annotations
sjakobi Apr 3, 2021
8a05892
List trait impls before methods from deref in the sidebar of Rustdoc'…
slightlyoutofphase Apr 3, 2021
0b417ab
Auto merge of #81507 - weiznich:add_diesel_to_cargo_test, r=Mark-Simu…
bors Apr 3, 2021
72502e8
Remove trailing whitespace
slightlyoutofphase Apr 3, 2021
13e482b
Remove unneeded INITIAL_IDS const
GuillaumeGomez Apr 3, 2021
2616ab1
Auto merge of #83811 - JohnTitor:rollup-hnw1xwz, r=JohnTitor
bors Apr 3, 2021
3bd241f
cleanup leak after test to make miri happy
the8472 Apr 2, 2021
572873f
suggestion from review
the8472 Apr 3, 2021
a3d0fa8
Add `#[inline]` to IpAddr methods
AngelicosPhosphoros Apr 3, 2021
ed89e6b
Address review comments and Windows failure, and make cleaner
Apr 4, 2021
0850c37
Auto merge of #83529 - richkadel:demangler, r=tmandry
bors Apr 4, 2021
0513ba4
perform filesystem probe once before running bins checks concurrently
the8472 Feb 21, 2021
5f92951
rustdoc: sort search index items for compression
notriddle Apr 4, 2021
88e7862
Auto merge of #83267 - ssomers:btree_prune_range_search_overlap, r=Ma…
bors Apr 4, 2021
f98135b
Auto merge of #82347 - the8472:parallelize-tidy, r=Mark-Simulacrum
bors Apr 4, 2021
5d1747b
rely on intra-doc links
RalfJung Apr 4, 2021
ddc53f8
Allow clobbering unsupported registers in asm!
Amanieu Apr 4, 2021
31d0459
Update clobber example in the asm documentation
Amanieu Apr 4, 2021
b1ea261
Auto merge of #83839 - ldm0:deref, r=petrochenkov
bors Apr 4, 2021
a41d41c
Fix error codes check run and ensure it will not go unnoticed again
GuillaumeGomez Mar 24, 2021
fbf1bec
resolve/expand: Cache intermediate results of `#[derive]` expansion
petrochenkov Mar 8, 2021
b965844
resolve: Stable order for derive helper attributes
petrochenkov Apr 4, 2021
5b0ab79
Auto merge of #83451 - GuillaumeGomez:fix-error-code-tidy-check, r=Ma…
bors Apr 4, 2021
da66a31
wasm64
devsnek Dec 30, 2020
a76de0d
Bump bootstrap compiler
Mark-Simulacrum Mar 26, 2021
a1c3449
Rollup merge of #73945 - est31:unused_externs, r=Mark-Simulacrum
Dylan-DPC Apr 4, 2021
869726d
Rollup merge of #81619 - SkiFire13:resultshunt-inplace, r=the8472
Dylan-DPC Apr 4, 2021
6c13556
Rollup merge of #82726 - ssomers:btree_node_rearange, r=Mark-Simulacrum
Dylan-DPC Apr 4, 2021
a89eab9
Rollup merge of #83521 - sexxi-goose:quick-diagnostic-fix, r=nikomats…
Dylan-DPC Apr 4, 2021
3cbed89
Rollup merge of #83532 - asomers:gdb-fbsd, r=Mark-Simulacrum
Dylan-DPC Apr 4, 2021
25026c9
Rollup merge of #83793 - notriddle:single-span-macro-highlight, r=Gui…
Dylan-DPC Apr 4, 2021
e62fce3
Rollup merge of #83809 - GuillaumeGomez:remove-initial-ids, r=camelid
Dylan-DPC Apr 4, 2021
b943ea8
Rollup merge of #83827 - the8472:fix-inplace-panic-on-drop, r=RalfJung
Dylan-DPC Apr 4, 2021
b577d7e
fix typo
RalfJung Apr 4, 2021
ed0d8fa
Optimize PartialOrd le
AngelicosPhosphoros Apr 3, 2021
8ad6a44
Auto merge of #83855 - Dylan-DPC:rollup-oww62sh, r=Dylan-DPC
bors Apr 4, 2021
37498a1
Use `#[inline(always)]` on trivial UnsafeCell methods
joshtriplett Apr 4, 2021
b3a4f91
Bump cfgs
Mark-Simulacrum Mar 26, 2021
f06efd2
Workaround increased cache clearing in Cargo
Mark-Simulacrum Apr 4, 2021
3c3d3dd
core: rearrange `ptr::swap_nonoverlapping_one`'s cases (no functional…
eddyb Mar 11, 2021
bc6af97
core: disable `ptr::swap_nonoverlapping_one`'s block optimization on …
eddyb Mar 11, 2021
14406df
Use the beta compiler for building bootstrap tools when `download-rus…
jyn514 Feb 10, 2021
c755ee4
Auto merge of #82907 - petrochenkov:dercache, r=Aaron1011
bors Apr 4, 2021
2370e3b
Get rid of unneeded `aliases` field
notriddle Apr 4, 2021
3965773
use jemallocator in rustc/rustdoc
guswynn Apr 4, 2021
82b2863
Render destructured struct function param names as underscore.
eggyal Apr 4, 2021
0d12422
Rollup merge of #80525 - devsnek:wasm64, r=nagisa
Dylan-DPC Apr 4, 2021
4e3f471
Rollup merge of #83019 - eddyb:spirv-no-block-swap, r=nagisa
Dylan-DPC Apr 4, 2021
03bd4d2
Rollup merge of #83717 - notriddle:main-js-slice-loop, r=GuillaumeGomez
Dylan-DPC Apr 4, 2021
ad776fd
Rollup merge of #83807 - sjakobi:77548-remove-ignore-annotations, r=M…
Dylan-DPC Apr 4, 2021
fbe89e2
Rollup merge of #83815 - RalfJung:addr_of, r=kennytm
Dylan-DPC Apr 4, 2021
3c2e4ff
Rollup merge of #83820 - petrochenkov:nolinkargs, r=nagisa
Dylan-DPC Apr 4, 2021
f8709ec
Rollup merge of #83841 - Amanieu:asm_clobber_feature, r=nagisa
Dylan-DPC Apr 4, 2021
35aa636
Auto merge of #83530 - Mark-Simulacrum:bootstrap-bump, r=Mark-Simulacrum
bors Apr 4, 2021
45ccd50
Don't report disambiguator error if link would have been ignored
camelid Apr 4, 2021
01be6dd
Merge branch 'master' of github.com:rust-lang/rust into issue-83852
eggyal Apr 4, 2021
14fac68
Renamed test
eggyal Apr 4, 2021
015d2bc
Auto merge of #83864 - Dylan-DPC:rollup-78an86n, r=Dylan-DPC
bors Apr 5, 2021
b1b0a15
Auto merge of #83819 - AngelicosPhosphoros:issue-73338-fix-partial-eq…
bors Apr 5, 2021
58e7189
Auto merge of #83858 - joshtriplett:unsafe-cell-always-inline, r=Mark…
bors Apr 5, 2021
29fed9a
Update Source Serif to release 4.004
tspiteri Mar 29, 2021
70b0874
change SourceSerifPro to SourceSerif4 in emit-shared-files test
tspiteri Apr 5, 2021
9eabb41
Remove unnecessary exceptions to the platform-specific code check
jyn514 Apr 5, 2021
1df9d49
don't try to visit probe file
the8472 Apr 5, 2021
54ea8e1
Rollup merge of #81922 - magurotuna:issue81522, r=matthewjasper
Dylan-DPC Apr 5, 2021
e64dbb1
Rollup merge of #82483 - tmiasko:option-from-str, r=matthewjasper
Dylan-DPC Apr 5, 2021
ca9cbea
Rollup merge of #82739 - jyn514:separate-stage0-stage1, r=Mark-Simula…
Dylan-DPC Apr 5, 2021
ad0a995
Rollup merge of #83650 - tspiteri:source-serif-4, r=GuillaumeGomez
Dylan-DPC Apr 5, 2021
d60cf78
Rollup merge of #83826 - slightlyoutofphase:rustdoc-sidebar-order-shu…
Dylan-DPC Apr 5, 2021
445aa40
Rollup merge of #83831 - AngelicosPhosphoros:issue-77583-inline-for-i…
Dylan-DPC Apr 5, 2021
98e7a4e
Rollup merge of #83863 - eggyal:issue-83852, r=jyn514
Dylan-DPC Apr 5, 2021
3ca197e
Rollup merge of #83865 - camelid:disamb-err-fix, r=jyn514
Dylan-DPC Apr 5, 2021
39eee17
Auto merge of #83880 - Dylan-DPC:rollup-hz9ph0e, r=Dylan-DPC
bors Apr 5, 2021
6ce9a02
:arrow_up: rust-analyzer
lnicola Apr 5, 2021
d63b3f9
Remove duplicate unwrap_or_else
jyn514 Apr 4, 2021
ac04dbd
Reduce indentation in `resolve_associated_item`
jyn514 Apr 4, 2021
3b7e654
Use more appropriate return type for `resolve_associated_item`
jyn514 Apr 4, 2021
0a351ab
Document compiler/ with -Aprivate-intra-doc-links
jyn514 Apr 5, 2021
b1bcff0
Disallow the use of high byte registes as operands on x86_64
Amanieu Apr 4, 2021
580a740
Add `download-rustc = "if-unchanged"`
jyn514 Mar 22, 2021
335a3c4
Rollup merge of #83368 - jyn514:download-if-unchanged, r=Mark-Simulacrum
Dylan-DPC Apr 5, 2021
a766d63
Rollup merge of #83705 - jyn514:theme-error, r=GuillaumeGomez
Dylan-DPC Apr 5, 2021
49b178e
Rollup merge of #83853 - Amanieu:asm_no_high_x86_64, r=nagisa
Dylan-DPC Apr 5, 2021
770bf31
Rollup merge of #83877 - jyn514:exceptions, r=Mark-Simulacrum
Dylan-DPC Apr 5, 2021
d856a26
Rollup merge of #83878 - the8472:fix-concurrent-tidy-access, r=Mark-S…
Dylan-DPC Apr 5, 2021
5a7a0ac
Auto merge of #83890 - Dylan-DPC:rollup-9fqy3fe, r=Dylan-DPC
bors Apr 5, 2021
f8653c9
Add config file for tools enabling stage1 downloads by default
jyn514 Dec 4, 2020
6e4ef54
Rename path_str -> ori_link in anchor_failure
jyn514 Apr 5, 2021
d4011e1
Use DiagnosticInfo for anchor failure
jyn514 Apr 5, 2021
8ed7d93
Take `DiagnosticInfo` in `resolution_failure`
jyn514 Apr 5, 2021
2ab1b7d
Rename link_range -> disambiguator_range in disambiguator_error
jyn514 Apr 5, 2021
58f9c5b
Take DiagnosticInfo in disambiguator_error
jyn514 Apr 5, 2021
f4c87c5
Take `DiagnosticInfo` in `ambiguity_error`
jyn514 Apr 5, 2021
661acbc
Take DiagnosticInfo in privacy_error
jyn514 Apr 5, 2021
a86a740
Use DiagnosticInfo for `report_diagnostic`
jyn514 Apr 5, 2021
d203fce
Auto merge of #83406 - b-naber:issue-83510, r=lcnr
bors Apr 5, 2021
e7e485c
rustc_target: Rely on defaults more in target specs
petrochenkov Apr 3, 2021
6c0b987
Update LLVM to support more wasm simd ops
alexcrichton Apr 5, 2021
f4a19ca
Fix typo in TokenStream documentation
GuillaumeGomez Apr 5, 2021
d322385
Auto merge of #83152 - guswynn:jemallocator_part2, r=Mark-Simulacrum
bors Apr 5, 2021
e5edded
Rollup merge of #83370 - jyn514:setup-tools, r=Mark-Simulacrum
JohnTitor Apr 5, 2021
d9f123a
Rollup merge of #83489 - LeSeulArtichaut:deref-else, r=davidtwco
JohnTitor Apr 5, 2021
76be7e2
Rollup merge of #83734 - JohnTitor:issue-83621, r=davidtwco
JohnTitor Apr 5, 2021
67ffbed
Rollup merge of #83814 - petrochenkov:emptyexpr, r=davidtwco
JohnTitor Apr 5, 2021
12d007d
Rollup merge of #83835 - notriddle:sort-index, r=ollie27
JohnTitor Apr 5, 2021
f93412f
Rollup merge of #83849 - jyn514:intra-doc-cleanup, r=bugadani
JohnTitor Apr 5, 2021
fb6eb4a
Rollup merge of #83881 - lnicola:rust-analyzer-2021-04-05, r=jonas-sc…
JohnTitor Apr 5, 2021
d8c04b1
Rollup merge of #83885 - jyn514:private-links, r=Mark-Simulacrum
JohnTitor Apr 5, 2021
448d076
Allow specifying alignment for functions
repnop Jan 21, 2021
8e6b478
Auto merge of #83905 - JohnTitor:rollup-pa1la80, r=JohnTitor
bors Apr 5, 2021
48c2cde
Update cargo
ehuss Apr 6, 2021
0c7d4ef
Auto merge of #83592 - nagisa:nagisa/dso_local, r=davidtwco
bors Apr 6, 2021
09ff88b
Add `FromIterator` and `IntoIterator` impls for `ThinVec`
camelid Apr 3, 2021
525646a
Move `SharedContext` to `context.rs`
camelid Apr 2, 2021
a6e7a5a
Auto merge of #81234 - repnop:fn-alignment, r=lcnr
bors Apr 6, 2021
354cc75
Auto merge of #81641 - bjorn3:find_codegen_backend, r=davidtwco
bors Apr 6, 2021
4d23c8e
Add listing of lints (eg via -W help) to rustdoc
eggyal Apr 6, 2021
3d3a5ca
Fix HashMap/HashSet LLDB pretty-printer after hashbrown 0.11.0
artemmukhin Apr 6, 2021
e1d49aa
Auto merge of #83821 - camelid:improve-thinvec, r=petrochenkov
bors Apr 6, 2021
bf11b12
update Miri
RalfJung Apr 6, 2021
32be124
Use AnonConst for asm! constants
Amanieu Apr 6, 2021
5c897d4
Auto merge of #83922 - RalfJung:miri, r=RalfJung
bors Apr 6, 2021
b729815
use a `SmallVec` in `impl_or_trait_item`
lcnr Apr 6, 2021
ee79f83
forbid `impl Trait` in generic param defaults
SNCPlay42 Apr 6, 2021
16143d1
Auto merge of #83875 - jyn514:diag_info, r=bugadani
bors Apr 6, 2021
c92ac87
Rollup merge of #82963 - camelid:move-sharedcontext, r=GuillaumeGomez
Dylan-DPC Apr 6, 2021
93b506c
Rollup merge of #83829 - petrochenkov:minclean, r=nagisa
Dylan-DPC Apr 6, 2021
e00893b
Rollup merge of #83895 - eggyal:issue-83883, r=jyn514
Dylan-DPC Apr 6, 2021
8cee7b7
Rollup merge of #83902 - alexcrichton:update-llvm, r=nikic
Dylan-DPC Apr 6, 2021
38a8fa8
Rollup merge of #83903 - rust-lang:GuillaumeGomez-patch-1, r=lcnr
Dylan-DPC Apr 6, 2021
2f57dc8
Rollup merge of #83910 - ehuss:update-cargo, r=ehuss
Dylan-DPC Apr 6, 2021
3d33818
Rollup merge of #83920 - ortem:fix-hashmap-lldb-pretty-printer-1.52, …
Dylan-DPC Apr 6, 2021
3ea8ebc
rustdoc: Use `ThinVec` in a few places
camelid Apr 3, 2021
c051c5d
Auto merge of #83934 - Dylan-DPC:rollup-nw5dadn, r=Dylan-DPC
bors Apr 6, 2021
9e11902
Store links in Cache instead of on items directly
jyn514 Apr 4, 2021
7f823e5
Add reborrow suggestion when mutable reference is moved in a for loop
SkiFire13 Apr 6, 2021
a775984
Add regression test
SkiFire13 Apr 6, 2021
ffd7094
Fix handling of `--output-format json` flag
jyn514 Feb 24, 2021
8b53ec6
Auto merge of #83828 - camelid:rustdoc-vec-perf, r=jyn514
bors Apr 6, 2021
e1efa17
Account for `ExprKind::Block` when suggesting .into() and deref
estebank Apr 7, 2021
b8dda53
Remove trailing `:` from E0119 message
estebank Apr 7, 2021
18cf44b
Do not ICE when closure is involved in TAIT
estebank Apr 7, 2021
1cba089
Bump bootstrap compiler
ehuss Apr 7, 2021
4752a54
Disable using non-ascii identifiers in extern blocks.
crlf0710 Apr 6, 2021
c53d2d4
Auto merge of #83955 - ehuss:update-stage0, r=Mark-Simulacrum
bors Apr 7, 2021
d326c21
Suggest Pin/Box/Arc for more cases
estebank Mar 30, 2021
8bc5581
Point at `impl` and type defs introducing requirements on E0277
estebank Mar 30, 2021
dc71166
Always mention `Box::pin` when dealing with `!Unpin`
estebank Mar 30, 2021
2375b8a
review comments
estebank Mar 31, 2021
60c7f37
Add spans to E0277 for impl/trait type/fn obligation disparity
estebank Mar 31, 2021
1c158b6
Auto merge of #83833 - jyn514:no-resolver, r=GuillaumeGomez
bors Apr 7, 2021
505846e
Rollup merge of #83476 - mystor:rc_mutate_strong_count, r=m-ou-se
Dylan-DPC Apr 7, 2021
2c55bac
Rollup merge of #83634 - JohnTitor:proc-macro-ice, r=varkor
Dylan-DPC Apr 7, 2021
4d5bb1c
Rollup merge of #83816 - JohnTitor:unused-doc-comments-on-macros, r=v…
Dylan-DPC Apr 7, 2021
b81c6cd
Rollup merge of #83916 - Amanieu:asm_anonconst, r=petrochenkov
Dylan-DPC Apr 7, 2021
d554385
Rollup merge of #83935 - SNCPlay42:param-default-impl-trait, r=varkor
Dylan-DPC Apr 7, 2021
9c688cd
Rollup merge of #83936 - crlf0710:disallow_extern_block_non_ascii, r=…
Dylan-DPC Apr 7, 2021
d7d42cc
Rollup merge of #83945 - SkiFire13:fix-83924, r=estebank
Dylan-DPC Apr 7, 2021
d82419b
Rollup merge of #83954 - estebank:issue-83613, r=varkor
Dylan-DPC Apr 7, 2021
6e77bcb
Add Debug implementation for hir::intravisit::FnKind
GuillaumeGomez Apr 7, 2021
b01026d
Auto merge of #83932 - lcnr:probe-perf, r=estebank
bors Apr 7, 2021
9866ea0
rustdoc: Link to the docs on namespaces when an unknown disambiguator…
jyn514 Apr 5, 2021
3478f83
Reuse logic for determining the channel in the rest of rustdoc
jyn514 Apr 6, 2021
462f86d
Stabilize cmp_min_max_by
glittershark Jan 15, 2021
64e6288
rebase and update tests
estebank Apr 7, 2021
e9cdccc
Auto merge of #83964 - Dylan-DPC:rollup-9kinaiv, r=Dylan-DPC
bors Apr 7, 2021
934a30a
Fix outdated crate names in `rustc_interface::callbacks`
pierwill Apr 7, 2021
ef2ef92
Auto merge of #81047 - glittershark:stabilize-cmp-min-max-by, r=kodraus
bors Apr 7, 2021
28e83a4
Cleanup option parsing and config.toml.example
jyn514 Feb 23, 2021
54dc7ce
Remove the insta-stable `cfg(wasm)`
nagisa Apr 7, 2021
361bfce
Auto merge of #82451 - jyn514:defaults, r=Mark-Simulacrum
bors Apr 7, 2021
cbe3eba
Rollup merge of #82497 - jyn514:json, r=CraftSpider
Dylan-DPC Apr 7, 2021
a113240
Rollup merge of #83689 - estebank:cool-bears-hot-tip, r=davidtwco
Dylan-DPC Apr 7, 2021
97c50d5
Rollup merge of #83952 - estebank:issue-83943, r=petrochenkov
Dylan-DPC Apr 7, 2021
1ab186a
Rollup merge of #83965 - rust-lang:debug-intravisit-fnkind, r=lqd
Dylan-DPC Apr 7, 2021
b14d54d
Rollup merge of #83974 - pierwill:fix-callbacks-names, r=jyn514
Dylan-DPC Apr 7, 2021
2118526
Auto merge of #83986 - Dylan-DPC:rollup-51vygcj, r=Dylan-DPC
bors Apr 8, 2021
8563a19
Document `Res` and its friends
camelid Mar 10, 2021
0bbf473
Auto merge of #82958 - camelid:res-docs, r=petrochenkov
bors Apr 8, 2021
1408715
Auto merge of #83866 - jyn514:disambiguator-error, r=camelid
bors Apr 8, 2021
69e1d22
Auto merge of #83981 - nagisa:nagisa/revert-cfg-wasm, r=Mark-Simulacrum
bors Apr 8, 2021
950f644
Minimal changes to rustc to enable RMC
danielsn Apr 6, 2021
ddb5e98
Renamed files to avoid name conflicts
danielsn Apr 6, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Xuefeng Wu <benewu@gmail.com> Xuefeng Wu <xfwu@thoughtworks.com>
Xuefeng Wu <benewu@gmail.com> XuefengWu <benewu@gmail.com>
York Xiang <bombless@126.com>
Youngsoo Son <ysson83@gmail.com> <ysoo.son@samsung.com>
Yuki Okushi <huyuumi.dev@gmail.com>
Yuki Okushi <jtitor@2k36.org> <huyuumi.dev@gmail.com>
Zach Pomerantz <zmp@umich.edu>
Zack Corr <zack@z0w0.me> <zackcorr95@gmail.com>
Zack Slayton <zack.slayton@gmail.com>
Expand Down
136 changes: 76 additions & 60 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ checksum = "81a18687293a1546b67c246452202bbbf143d239cb43494cc163da14979082da"

[[package]]
name = "cargo"
version = "0.53.0"
version = "0.54.0"
dependencies = [
"anyhow",
"atty",
Expand Down Expand Up @@ -326,6 +326,7 @@ dependencies = [
"serde",
"serde_ignored",
"serde_json",
"shell-escape",
"strip-ansi-escapes",
"tar",
"tempfile",
Expand Down Expand Up @@ -581,7 +582,7 @@ dependencies = [
"cargo_metadata 0.12.0",
"clippy-mini-macro-test",
"clippy_lints",
"compiletest_rs 0.6.0",
"compiletest_rs",
"derive-new",
"quote",
"regex",
Expand All @@ -591,7 +592,7 @@ dependencies = [
"serde",
"syn",
"tempfile",
"tester 0.9.0",
"tester",
]

[[package]]
Expand Down Expand Up @@ -699,28 +700,6 @@ dependencies = [
"winapi 0.3.9",
]

[[package]]
name = "compiletest_rs"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f737835bfbbe29ed1ff82d5137520338d7ed5bf1a1d4b9c1c7c58bb45b8fa29"
dependencies = [
"diff",
"filetime",
"getopts",
"libc",
"log",
"miow 0.3.6",
"regex",
"rustfix",
"serde",
"serde_derive",
"serde_json",
"tempfile",
"tester 0.7.0",
"winapi 0.3.9",
]

[[package]]
name = "compiletest_rs"
version = "0.6.0"
Expand All @@ -740,7 +719,7 @@ dependencies = [
"serde_derive",
"serde_json",
"tempfile",
"tester 0.9.0",
"tester",
"winapi 0.3.9",
]

Expand Down Expand Up @@ -1093,6 +1072,26 @@ dependencies = [
"log",
]

[[package]]
name = "enum-iterator"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c79a6321a1197d7730510c7e3f6cb80432dfefecb32426de8cea0aa19b4bb8d7"
dependencies = [
"enum-iterator-derive",
]

[[package]]
name = "enum-iterator-derive"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e94aa31f7c0dc764f57896dc615ddd76fc13b0d5dca7eb6cc5e018a5a09ec06"
dependencies = [
"proc-macro2",
"quote",
"syn",
]

[[package]]
name = "env_logger"
version = "0.6.2"
Expand Down Expand Up @@ -1438,6 +1437,18 @@ dependencies = [
"wasi",
]

[[package]]
name = "getset"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24b328c01a4d71d2d8173daa93562a73ab0fe85616876f02500f53d82948c504"
dependencies = [
"proc-macro-error",
"proc-macro2",
"quote",
"syn",
]

[[package]]
name = "gimli"
version = "0.23.0"
Expand Down Expand Up @@ -1731,17 +1742,6 @@ version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6"

[[package]]
name = "jemalloc-sys"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d3b9f3f5c9b31aa0f5ed3260385ac205db665baa41d49bb8338008ae94ede45"
dependencies = [
"cc",
"fs_extra",
"libc",
]

[[package]]
name = "jobserver"
version = "0.1.21"
Expand Down Expand Up @@ -2314,13 +2314,13 @@ name = "miri"
version = "0.1.0"
dependencies = [
"colored",
"compiletest_rs 0.5.0",
"env_logger 0.7.1",
"compiletest_rs",
"env_logger 0.8.1",
"getrandom 0.2.0",
"hex 0.4.2",
"libc",
"log",
"rand 0.7.3",
"rand 0.8.3",
"rustc-workspace-hack",
"rustc_version",
"shell-escape",
Expand Down Expand Up @@ -3585,9 +3585,10 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
name = "rustc-main"
version = "0.0.0"
dependencies = [
"jemalloc-sys",
"rustc_codegen_ssa",
"rustc_driver",
"tikv-jemalloc-sys",
"tikv-jemallocator",
]

[[package]]
Expand Down Expand Up @@ -3811,7 +3812,6 @@ dependencies = [
"itertools 0.9.0",
"jobserver",
"libc",
"memmap2",
"pathdiff",
"rustc_apfloat",
"rustc_ast",
Expand Down Expand Up @@ -3846,6 +3846,7 @@ dependencies = [
"jobserver",
"libc",
"measureme",
"memmap2",
"parking_lot",
"rustc-hash",
"rustc-rayon",
Expand Down Expand Up @@ -4145,7 +4146,6 @@ name = "rustc_metadata"
version = "0.0.0"
dependencies = [
"libc",
"memmap2",
"rustc_ast",
"rustc_attr",
"rustc_data_structures",
Expand Down Expand Up @@ -4591,11 +4591,11 @@ dependencies = [

[[package]]
name = "rustc_version"
version = "0.2.3"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee"
dependencies = [
"semver 0.9.0",
"semver 0.11.0",
]

[[package]]
Expand Down Expand Up @@ -5241,17 +5241,6 @@ dependencies = [
"term 0.0.0",
]

[[package]]
name = "tester"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee72ec31009a42b53de9a6b7d8f462b493ab3b1e4767bda1fcdbb52127f13b6c"
dependencies = [
"getopts",
"libc",
"term 0.6.1",
]

[[package]]
name = "tester"
version = "0.9.0"
Expand Down Expand Up @@ -5308,6 +5297,7 @@ name = "tidy"
version = "0.1.0"
dependencies = [
"cargo_metadata 0.11.1",
"crossbeam-utils 0.8.0",
"lazy_static",
"regex",
"walkdir",
Expand All @@ -5317,6 +5307,27 @@ dependencies = [
name = "tier-check"
version = "0.1.0"

[[package]]
name = "tikv-jemalloc-sys"
version = "0.4.1+5.2.1-patched"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a26331b05179d4cb505c8d6814a7e18d298972f0a551b0e3cefccff927f86d3"
dependencies = [
"cc",
"fs_extra",
"libc",
]

[[package]]
name = "tikv-jemallocator"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c14a5a604eb8715bc5785018a37d00739b180bcf609916ddf4393d33d49ccdf"
dependencies = [
"libc",
"tikv-jemalloc-sys",
]

[[package]]
name = "time"
version = "0.1.43"
Expand Down Expand Up @@ -5664,12 +5675,17 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"

[[package]]
name = "vergen"
version = "3.1.0"
version = "5.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ce50d8996df1f85af15f2cd8d33daae6e479575123ef4314a51a70a230739cb"
checksum = "dfbc87f9a7a9d61b15d51d1d3547284f67b6b4f1494ce3fc5814c101f35a5183"
dependencies = [
"bitflags",
"anyhow",
"chrono",
"enum-iterator",
"getset",
"git2",
"rustversion",
"thiserror",
]

[[package]]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 7 additions & 3 deletions compiler/rustc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ rustc_driver = { path = "../rustc_driver" }
# crate is intended to be used by codegen backends, which may not be in-tree.
rustc_codegen_ssa = { path = "../rustc_codegen_ssa" }

[dependencies.jemalloc-sys]
version = '0.3.0'
[dependencies.tikv-jemalloc-sys]
version = '0.4.0'
optional = true
features = ['unprefixed_malloc_on_supported_platforms']

[dependencies.tikv-jemallocator]
version = '0.4.0'
optional = true

[features]
jemalloc = ['jemalloc-sys']
jemalloc = ['tikv-jemalloc-sys', 'tikv-jemallocator']
llvm = ['rustc_driver/llvm']
max_level_info = ['rustc_driver/max_level_info']
15 changes: 14 additions & 1 deletion compiler/rustc/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
// Configure jemalloc as the `global_allocator` when configured. This is
// so that we use the sized deallocation apis jemalloc provides
// (namely `sdallocx`).
//
// The symbol overrides documented below are also performed so that we can
// ensure that we use a consistent allocator across the rustc <-> llvm boundary
#[cfg(feature = "jemalloc")]
#[global_allocator]
static ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;

#[cfg(feature = "tikv-jemalloc-sys")]
use tikv_jemalloc_sys as jemalloc_sys;

fn main() {
// Pull in jemalloc when enabled.
//
Expand All @@ -7,7 +20,7 @@ fn main() {
// dynamic libraries. That means to pull in jemalloc we actually need to
// reference allocation symbols one way or another (as this file is the only
// object code in the rustc executable).
#[cfg(feature = "jemalloc-sys")]
#[cfg(feature = "tikv-jemalloc-sys")]
{
use std::os::raw::{c_int, c_void};

Expand Down
20 changes: 0 additions & 20 deletions compiler/rustc_arena/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,26 +236,6 @@ impl<T> TypedArena<T> {
start_ptr
}

/// Allocates a slice of objects that are copied into the `TypedArena`, returning a mutable
/// reference to it. Will panic if passed a zero-sized types.
///
/// Panics:
///
/// - Zero-sized types
/// - Zero-length slices
#[inline]
pub fn alloc_slice(&self, slice: &[T]) -> &mut [T]
where
T: Copy,
{
unsafe {
let len = slice.len();
let start_ptr = self.alloc_raw_slice(len);
slice.as_ptr().copy_to_nonoverlapping(start_ptr, len);
slice::from_raw_parts_mut(start_ptr, len)
}
}

#[inline]
pub fn alloc_from_iter<I: IntoIterator<Item = T>>(&self, iter: I) -> &mut [T] {
assert!(mem::size_of::<T>() != 0);
Expand Down
Loading