Skip to content
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

Rollup of 9 pull requests #86962

Closed
wants to merge 116 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
64e08e6
Add BPF target
alessandrod Nov 30, 2020
8b08cbd
Change the ice hook for cg_clif to refer to cg_clif's issue tracker
bjorn3 May 24, 2021
d6b0345
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_…
bjorn3 May 27, 2021
4e62376
Make allocator_kind a query.
cjgillot May 11, 2021
228f1c5
Drop metadata_encoding_version.
cjgillot May 29, 2021
d8d6a5a
Revert "Reduce the amount of untracked state in TyCtxt"
cjgillot Jun 1, 2021
f4eb017
Drop metadata_encoding_version.
cjgillot May 29, 2021
b10a442
Provide a default provide* implementation for CodegenBackend
bjorn3 May 29, 2021
20e9a13
Provide default MetadataLoader
bjorn3 May 29, 2021
b6f0b46
Allow printing the version of the default codegen backend if it isn't…
bjorn3 May 29, 2021
646c604
Move windows_subsystem field from CodegenResults to CrateInfo
bjorn3 May 29, 2021
dbdeafb
Move crate_name field from OngoingCodegen to CrateInfo
bjorn3 May 29, 2021
1248ff1
Add first cut of functionality for #58713: support for #[link(kind = …
ricobbe Mar 8, 2021
bc9926a
Remove unused dylib_ext variable from build.sh
bjorn3 Jun 5, 2021
d7db869
Auto merge of #79608 - alessandrod:bpf, r=nagisa
bors Jun 6, 2021
df47bce
Auto merge of #84171 - ricobbe:raw-dylib-via-llvm, r=petrochenkov
bors Jun 6, 2021
20beb55
Unify duplicate linker_and_flavor methods in rustc_codegen_{cranelift…
luqmana Jun 5, 2021
ab73115
Auto merge of #85810 - bjorn3:further_driver_cleanup, r=varkor
bors Jun 7, 2021
8224e72
Rollup merge of #86016 - luqmana:infer-linker-flavor, r=petrochenkov
JohnTitor Jun 7, 2021
dee7c7b
Sync from rust a50d72158e08e02cfc051b863017bdbd2c45b637
bjorn3 Jun 8, 2021
a6cce19
Rustup to rustc 1.54.0-nightly (e4a603270 2021-06-07)
bjorn3 Jun 8, 2021
0d68742
Ignore unsupported test
bjorn3 Jun 8, 2021
fa7545e
Auto merge of #85910 - cjgillot:no-meta-version, r=Aaron1011
bors Jun 10, 2021
b7180ae
Add missing cargo clean when cross-compiling
bjorn3 Jun 10, 2021
84dd229
Include rustc and cranelift version in debuginfo
bjorn3 Jun 10, 2021
ae1bcb2
Use -Cprefer-dynamic for all crates in jit mode
bjorn3 Jun 10, 2021
4492f32
Update Cranelift and object
bjorn3 Jun 10, 2021
75eff64
Enable cross-compilation support in Cranelift
bjorn3 Jun 10, 2021
d3e123f
Refactor to make interpreter and codegen backend neutral to vtable in…
crlf0710 Jun 14, 2021
8923e42
Use the now available implementation of `IntoIterator` for arrays
LeSeulArtichaut Jun 14, 2021
432285f
Implement llvm.x86.addcarry.64 and llvm.x86.subborrow.64 (#1178)
shamatar Jun 15, 2021
9be7ca0
Auto merge of #86291 - crlf0710:trait_vtbl_refactor, r=bjorn3
bors Jun 16, 2021
2945b96
Multithreading support for lazy-jit
eggyal Apr 28, 2021
4a7068d
Ensure Instances are only jitted once
eggyal Apr 28, 2021
5c78324
Remove lack of mulithreading support from usage.md
eggyal Jun 17, 2021
b0d1f50
Sync from rust b17d9c1332693fc386f5374f0d63aae0ce5abab5
bjorn3 Jun 17, 2021
a12e23b
Rustup to rustc 1.55.0-nightly (a85f584ae 2021-06-16)
bjorn3 Jun 17, 2021
ab7f1c8
Fix miscompilation in vtable access
bjorn3 Jun 17, 2021
0ddb937
Update rust patch for compiler_builtins update
bjorn3 Jun 17, 2021
2db4e50
Rewrite build.sh in rust
bjorn3 Jun 8, 2021
fe6a289
Rewrite prepare.sh in rust
bjorn3 Jun 11, 2021
066d5f9
Rewrite prepare_sysroot_src.sh in rust
bjorn3 Jun 16, 2021
d71b125
Merge the crate_patches dir into the patches dir
bjorn3 Jun 16, 2021
ad971bb
Rewrite build_sysroot.sh in rust
bjorn3 Jun 18, 2021
0d6b3da
Allow preserving the old sysroot
bjorn3 Jun 18, 2021
e5563b5
Improve windows support
bjorn3 Jun 18, 2021
b0d7b52
[CI] Test compilation on Windows
bjorn3 Jun 18, 2021
bc67726
Update rust-analyzer import assist config
bjorn3 Jun 18, 2021
d571910
Give an error when attempting to build for MSVC
bjorn3 Jun 19, 2021
9fd8fa2
Move some things from config.sh to ext_config.sh
bjorn3 Jun 19, 2021
b497c7d
Make allocator_kind a query.
cjgillot May 11, 2021
80e9188
Rewrite cargo.sh in rust
bjorn3 Jun 20, 2021
62e49c5
Fix compiling cargo.rs on windows
bjorn3 Jun 20, 2021
03c9ecf
Remove unnecessary LD_LIBRARY_PATH parts
bjorn3 Jun 20, 2021
b33a3ec
Merge pull request #1180 from bjorn3/rust_build_system
bjorn3 Jun 20, 2021
089d986
Remove unused variable
bjorn3 Jun 20, 2021
e475efb
Auto merge of #85640 - bjorn3:custom_ice_hook, r=jackh726
bors Jun 25, 2021
57c6eb7
Test multithreading support in lazy-jit
bjorn3 Jun 25, 2021
0d1cede
Merge pull request #1166 from eggyal/lazy-jit-multithreaded
bjorn3 Jun 25, 2021
e0af5f7
Auto merge of #85909 - cjgillot:alloc-kind-query, r=Aaron1011
bors Jun 28, 2021
4d289db
Update other codegens to use tcx managed vtable allocations.
crlf0710 Jun 20, 2021
b186f86
Auto merge of #86475 - crlf0710:miri_vtable_refactor, r=bjorn3
bors Jun 29, 2021
3ec2b44
Sync from rust e98897e5dc9898707bf4331c43b2e76ab7e282fe
bjorn3 Jun 29, 2021
6048adc
Support allocation failures when interperting MIR
syvb Jun 12, 2021
17373a9
fix sess error
syvb Jun 29, 2021
4cbba98
Rustup to rustc 1.55.0-nightly (6d820866a 2021-06-29)
bjorn3 Jun 30, 2021
f5a1633
Reduce duplication of vtables
bjorn3 Jul 1, 2021
e0f3ad2
Disable new rustc test requiring unwinding support
bjorn3 Jul 2, 2021
ae98d5a
Don't use data object for non-primitive scalars
bjorn3 Jul 2, 2021
dd1419a
Update Cranelift and object
bjorn3 Jun 25, 2021
1bd9a13
Only test global_asm on x86_64
bjorn3 Jun 25, 2021
cda8111
Fix compilation for AArch64
bjorn3 Jun 29, 2021
e8ff364
Fix rust-analyzer setting
bjorn3 Jul 2, 2021
42f9ad5
[CI] Split build and test steps
bjorn3 Jul 2, 2021
3dc9ec2
[CI] Cross compile to aarch64-unknown-linux-gnu
bjorn3 Jul 2, 2021
4c440af
Merge pull request #1183 from bjorn3/full_aarch64_support
bjorn3 Jul 2, 2021
55e0779
Check if the patched sysroot source is up to date before using it
bjorn3 Jul 2, 2021
6a31385
Misc target related improvements
bjorn3 Jul 3, 2021
751ae51
Update Cranelift
bjorn3 Jul 3, 2021
913c0bc
Make vtable_allocation always succeed
syvb Jul 3, 2021
ac730b4
Update Cranelift
bjorn3 Jul 4, 2021
83cca1b
Write better clif ir header
bjorn3 Jul 4, 2021
0d531c3
Better config parsing and allow specifying host and target triple in …
bjorn3 Jul 4, 2021
5347882
Refactor cg_clif building
bjorn3 Jul 4, 2021
38585b3
Don't overwrite LD_LIBRARY_PATH in config.sh
bjorn3 Jul 4, 2021
6b3a061
Remove LibSource
bjorn3 Jun 7, 2021
a0cdbd1
Rustfmt
bjorn3 Jul 5, 2021
fed71e3
Pass CrateInfo instead of TyCtxt to load_imported_symbols_for_jit
bjorn3 Jul 5, 2021
73d2e22
Sync from rust b09dad3eddfc46c55e45f6c1a00bab09401684b4
bjorn3 Jul 6, 2021
a151982
Add doc comment for `impl From<LayoutError> for TryReserveError`
notriddle Jul 6, 2021
65b28a9
Add ui test for command line lints with tool names
eholk Jun 25, 2021
1e0db4c
Parse tool name for command line lint options
eholk Jun 24, 2021
8b4f538
Unify lint tool and lint name checking
eholk Jul 7, 2021
0db66e5
Add self to mailmap
inquisitivecrystal Jul 7, 2021
3a31c6d
Rustup to rustc 1.55.0-nightly (885399992 2021-07-06)
bjorn3 Jul 7, 2021
d531f3d
Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_…
bjorn3 Jul 7, 2021
00b2f56
Add memchr to list of permitted cg_clif deps
bjorn3 Jul 7, 2021
04a9c10
Fix ICE when misplaced visibility cannot be properly parsed
rylev Jul 7, 2021
e5c24ba
Clean up rustdoc static files
GuillaumeGomez Jul 7, 2021
5413d2e
Fix test case
eholk Jul 7, 2021
4a83a93
Cleanup: unify lint name checking
eholk Jul 7, 2021
7677f5f
Fix typo in `ops::Drop` docs
Swordelf2 Jul 7, 2021
3bfc899
Fix linker error
inquisitivecrystal Jun 3, 2021
ace3989
Revert "Add "every" as a doc alias for "all"."
cuviper Jul 7, 2021
34cbdb8
Update docs for `fs::hard_link`
inquisitivecrystal Jul 7, 2021
fb3857c
Change `weak!` and `linkat!` to macros 2.0
inquisitivecrystal Jul 6, 2021
676699c
Make tests pass on old macos
inquisitivecrystal Jul 6, 2021
91206a7
Rollup merge of #85953 - inquisitivecrystal:weak-linkat-in-fs-hardlin…
JohnTitor Jul 7, 2021
424498c
Rollup merge of #86639 - eholk:lint-tool, r=petrochenkov
JohnTitor Jul 7, 2021
750f61c
Rollup merge of #86917 - notriddle:notriddle/from-try-reserve-error, …
JohnTitor Jul 7, 2021
0ea3362
Rollup merge of #86925 - inquisitivecrystal:mailmap, r=Mark-Simulacrum
JohnTitor Jul 7, 2021
8445192
Rollup merge of #86927 - bjorn3:sync_cg_clif-2021-07-07, r=bjorn3
JohnTitor Jul 7, 2021
de403ef
Rollup merge of #86932 - rylev:fix-ice-86895, r=estebank
JohnTitor Jul 7, 2021
ca92a72
Rollup merge of #86933 - GuillaumeGomez:cleanup-rustdoc-static-files,…
JohnTitor Jul 7, 2021
5c25056
Rollup merge of #86955 - Swordelf2:patch-1, r=cuviper
JohnTitor Jul 7, 2021
d04c638
Rollup merge of #86956 - cuviper:unalias-every, r=m-ou-se
JohnTitor Jul 7, 2021
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
Prev Previous commit
Next Next commit
Remove LibSource
The information is stored in used_crate_source too anyway
  • Loading branch information
bjorn3 committed Jul 5, 2021
commit 6b3a061e947fcb928b94cd5a7db3bdfd225f87b4
2 changes: 1 addition & 1 deletion src/driver/jit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ fn load_imported_symbols_for_jit(tcx: TyCtxt<'_>) -> Vec<(String, *const u8)> {
.find(|(crate_type, _data)| *crate_type == rustc_session::config::CrateType::Executable)
.unwrap()
.1;
for &(cnum, _) in &crate_info.used_crates_dynamic {
for &cnum in &crate_info.used_crates {
let src = &crate_info.used_crate_source[&cnum];
match data[cnum.as_usize() - 1] {
Linkage::NotLinked | Linkage::IncludedFromDylib => {}
Expand Down