Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
9412a89
Stabilize `Poll::is_ready` and `is_pending` as const
CDirkx Sep 2, 2020
ce1d5ed
Move const tests for `Poll` to `library\core`
CDirkx Sep 3, 2020
91a9f83
Define `fs::hard_link` to not follow symlinks.
sunfishcode Oct 16, 2020
5e80c65
Bump version to 1.49.0
CDirkx Oct 16, 2020
23a5c21
Fix a typo in a comment.
sunfishcode Oct 19, 2020
ce00b3e
Use `link` on platforms which lack `linkat`.
sunfishcode Oct 19, 2020
628fb9f
make concurrency helper more pleasant to read
tshepang Oct 21, 2020
d0178b4
Make it platform-specific whether `hard_link` follows symlinks.
sunfishcode Oct 20, 2020
6249cda
Disable use of `linkat` on Android as well.
sunfishcode Oct 23, 2020
e099138
BTreeMap: stop mistaking node for an orderly place
ssomers Oct 26, 2020
b0df3f7
fix some incorrect aliasing in the BTree
RalfJung Oct 28, 2020
59c6ae6
Use SOCK_CLOEXEC and accept4() on more platforms.
de-vri-es Oct 30, 2020
39103ce
Fix run-make tests running when LLVM is disabled
bjorn3 Nov 3, 2020
5fc22f1
Add a tool to run `x.py` from any subdirectory
casey Nov 2, 2020
9a12d72
Constantify `UnsafeCell::into_inner` and related
a1phyr Nov 4, 2020
795bbfe
Add tracking issue
a1phyr Nov 4, 2020
eed0ceb
Recognize `private_intra_doc_links` as a lint
jyn514 Oct 19, 2020
47b21b8
Add PRIVATE_INTRA_DOC_LINKS to rustdoc special-casing
jyn514 Nov 5, 2020
8078474
Correct unsigned equivalent of isize to be usize
jhpratt Nov 5, 2020
3bee37c
Disable accept4 on Android.
de-vri-es Oct 31, 2020
e8b5be5
Stabilize hint::spin_loop
pickfire Aug 30, 2020
ae059b5
Make some std::io functions `const`
a1phyr Nov 6, 2020
001dd7e
Add tracking issue
a1phyr Nov 6, 2020
020ed65
use single char patterns for split() (clippy::single_char_pattern)
matthiaskrgr Nov 7, 2020
5c8d25f
remove FIXME comment of #62277 in print_type_sizez ui tests
sasurau4 Nov 7, 2020
087a934
Small cleanup in `TypeFoldable` derive macro
LeSeulArtichaut Nov 7, 2020
ebe0a23
Rollup merge of #76097 - pickfire:stabilize-spin-loop, r=KodrAus
m-ou-se Nov 7, 2020
7b2754e
Rollup merge of #76227 - CDirkx:const-poll, r=KodrAus
m-ou-se Nov 7, 2020
ee826d9
Rollup merge of #78026 - sunfishcode:symlink-hard-link, r=dtolnay
m-ou-se Nov 7, 2020
62209ee
Rollup merge of #78065 - tshepang:nits, r=dtolnay
m-ou-se Nov 7, 2020
9dc4b34
Rollup merge of #78114 - jyn514:private, r=oli-obk
m-ou-se Nov 7, 2020
51e92af
Rollup merge of #78437 - ssomers:btree_no_ord_at_node_level, r=Mark-S…
m-ou-se Nov 7, 2020
b30dff3
Rollup merge of #78476 - RalfJung:btree-alias, r=Mark-Simulacrum
m-ou-se Nov 7, 2020
c78a951
Rollup merge of #78570 - sasurau4:test/check-pass-print-type-size, r=…
m-ou-se Nov 7, 2020
f0e94f3
Rollup merge of #78572 - de-vri-es:bsd-cloexec, r=m-ou-se
m-ou-se Nov 7, 2020
40f45a2
Rollup merge of #78658 - casey:x, r=Mark-Simulacrum
m-ou-se Nov 7, 2020
f8b2545
Rollup merge of #78706 - bjorn3:fix_run_make_without_llvm, r=Mark-Sim…
m-ou-se Nov 7, 2020
331b7fb
Rollup merge of #78728 - a1phyr:const_cell_into_inner, r=dtolnay
m-ou-se Nov 7, 2020
3bae91b
Rollup merge of #78788 - jhpratt:isize-impl-fix, r=m-ou-se
m-ou-se Nov 7, 2020
14fdc52
Rollup merge of #78811 - a1phyr:const_io_structs, r=dtolnay
m-ou-se Nov 7, 2020
66253cd
Rollup merge of #78828 - matthiaskrgr:sing_chr, r=lcnr
m-ou-se Nov 7, 2020
33bc375
Rollup merge of #78841 - LeSeulArtichaut:foldable-derive, r=lcnr
m-ou-se Nov 7, 2020
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
Fix run-make tests running when LLVM is disabled
  • Loading branch information
bjorn3 committed Nov 3, 2020
commit 39103ced582f1111af41326f904966aedd8bc47f
26 changes: 15 additions & 11 deletions src/bootstrap/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1203,17 +1203,6 @@ note: if you're sure you want to do this, please open an issue as to why. In the
// Only pass correct values for these flags for the `run-make` suite as it
// requires that a C++ compiler was configured which isn't always the case.
if !builder.config.dry_run && matches!(suite, "run-make" | "run-make-fulldeps") {
cmd.arg("--cc")
.arg(builder.cc(target))
.arg("--cxx")
.arg(builder.cxx(target).unwrap())
.arg("--cflags")
.arg(builder.cflags(target, GitRepo::Rustc).join(" "));
copts_passed = true;
if let Some(ar) = builder.ar(target) {
cmd.arg("--ar").arg(ar);
}

// The llvm/bin directory contains many useful cross-platform
// tools. Pass the path to run-make tests so they can use them.
let llvm_bin_path = llvm_config
Expand All @@ -1239,6 +1228,21 @@ note: if you're sure you want to do this, please open an issue as to why. In the
}
}

// Only pass correct values for these flags for the `run-make` suite as it
// requires that a C++ compiler was configured which isn't always the case.
if !builder.config.dry_run && matches!(suite, "run-make" | "run-make-fulldeps") {
cmd.arg("--cc")
.arg(builder.cc(target))
.arg("--cxx")
.arg(builder.cxx(target).unwrap())
.arg("--cflags")
.arg(builder.cflags(target, GitRepo::Rustc).join(" "));
copts_passed = true;
if let Some(ar) = builder.ar(target) {
cmd.arg("--ar").arg(ar);
}
}

if !llvm_components_passed {
cmd.arg("--llvm-components").arg("");
}
Expand Down