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 15 pull requests #49308

Merged
merged 95 commits into from
Mar 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
518b3f7
Update libc to bring in posix_spawn bindings for FreeBSD.
bdrewery Feb 28, 2018
11696ac
Support posix_spawn() when possible.
alexcrichton Jan 26, 2018
f463386
Avoid error for unused variables
bdrewery Feb 27, 2018
94630e4
No need to zero when an initializer for the object is already used.
bdrewery Feb 27, 2018
8e3fa0d
Pass proper pointer for envp.
bdrewery Feb 27, 2018
b3ecf5f
Remove excess newline
bdrewery Feb 27, 2018
85b82f2
Support posix_spawn() for FreeBSD.
bdrewery Feb 27, 2018
e6efd0d
Add a specific test for spawn() returning ENOENT
bdrewery Mar 1, 2018
a9ea876
posix_spawn() always returns its error rather than setting errno.
bdrewery Mar 1, 2018
2e2d926
posix_spawn() on OSX supports returning ENOENT.
bdrewery Mar 1, 2018
ef73b3a
Add comment explaining when posix_spawn() can be supported.
bdrewery Mar 1, 2018
99b50ef
Use _
bdrewery Mar 2, 2018
5ba6b3a
Move glibc version lookup handling to sys::os and add a simpler glibc…
bdrewery Mar 2, 2018
d740083
Support posix_spawn() for Linux glibc 2.24+.
bdrewery Mar 2, 2018
81130ed
Split param-bounds-ignored into two, it was testing two independent t…
RalfJung Mar 10, 2018
562b44d
Rename ignored_generic_bounds -> type_alias_bounds
RalfJung Mar 10, 2018
0e6d40a
type_alias_bounds lint: If the type alias uses an associated type wit…
RalfJung Mar 10, 2018
c685b57
add page to the Rustdoc Book about unstable features
QuietMisdreavus Mar 12, 2018
373b2cd
talk about error numbers for compile_fail doctests
QuietMisdreavus Mar 12, 2018
30adb53
talk about intra-links
QuietMisdreavus Mar 13, 2018
0f96e14
talk about doc(cfg)
QuietMisdreavus Mar 14, 2018
23a1da4
talk about doc(spotlight)
QuietMisdreavus Mar 14, 2018
82bd146
talk about doc(masked)
QuietMisdreavus Mar 14, 2018
067553d
talk about doc(include)
QuietMisdreavus Mar 14, 2018
3d90b4d
add headings to categorize the features
QuietMisdreavus Mar 14, 2018
c24a58c
fix link
QuietMisdreavus Mar 15, 2018
43ed377
add new section about CLI flags
QuietMisdreavus Mar 15, 2018
bb32823
talk about --markdown-(before|after)-content
QuietMisdreavus Mar 15, 2018
5d8443a
talk about --playground-url
QuietMisdreavus Mar 15, 2018
f9d3845
talk about --crate-version
QuietMisdreavus Mar 16, 2018
33ed787
talk about --linker
QuietMisdreavus Mar 16, 2018
cc4f97e
talk about --sort-modules-by-appearance
QuietMisdreavus Mar 16, 2018
6b29060
talk about --themes and --theme-checker
QuietMisdreavus Mar 16, 2018
b5ab5ce
talk about --resource-suffix
QuietMisdreavus Mar 16, 2018
9e62681
Remove core::fmt::num::Decimal
glandium Mar 17, 2018
f53d4af
Remove unused imports
Zoxc Feb 15, 2018
3fa69c9
Make Span and Symbol implement Send and Sync
Zoxc Dec 3, 2017
1dbc84d
Remove rustc_global!
Zoxc Mar 7, 2018
1551ef1
Don't get the global lock in the fast case
Zoxc Mar 14, 2018
697d3be
Replace Rc with Lrc
Zoxc Mar 14, 2018
8e5eb02
Add an Default impl for Lock
Zoxc Mar 14, 2018
37f9c7f
Add OnDrop
Zoxc Mar 15, 2018
ec4a9c6
Minor cleanup
Zoxc Mar 15, 2018
e09c2ff
Make interners thread-safe
Zoxc Mar 17, 2018
f40877f
Add 12 num::NonZero* types for each primitive integer
SimonSapin Feb 16, 2018
2d13ddb
Use NonNull<_> instead of NonZero<*const _> in btree internals
SimonSapin Feb 16, 2018
67f46ce
Use num::NonZero* instead of NonZero<_> in rustc and tests
SimonSapin Feb 16, 2018
22f7a02
Deprecate core::nonzero in favor of ptr::NonNull and num::NonZero*
SimonSapin Feb 16, 2018
6d682c9
Stop using deprecated NonZero APIs
SimonSapin Feb 16, 2018
7cf1f18
Test NonZero in a const item in a pattern.
SimonSapin Feb 16, 2018
73c0537
Remove deprecated unstable ptr::Shared type alias.
SimonSapin Mar 8, 2018
fad1648
Initial implementation of RFC 2151, Raw Identifiers
Lymia Mar 10, 2018
7d5c29b
Feature gate raw identifiers.
Lymia Mar 14, 2018
a23f685
num::NonZero* types now have their own tracking issue: #49137
SimonSapin Mar 18, 2018
d2e7953
Move raw_identifiers check to the lexer.
Lymia Mar 18, 2018
5c3d632
Return a is_raw parameter from Token::ident rather than having separa…
Lymia Mar 18, 2018
ce84a41
Allow raw identifiers in diagnostic macros.
Lymia Mar 18, 2018
685c3c1
Reduce the diagnostic span when multiple fields are missing in pattern
estebank Mar 19, 2018
8236e43
Document only-X test header
sanxiyn Mar 19, 2018
37ff473
wording nits
RalfJung Mar 19, 2018
c05d234
update compile-fail tests: fewer warnings because this is now a HIR lint
RalfJung Mar 19, 2018
00dac20
Merge branch 'update-beta-freebsd' into freebsd-posix-spawn
bdrewery Mar 19, 2018
f332a9c
Single diagnostic for all non-mentioned fields in a pattern
estebank Mar 19, 2018
6212904
Don't use posix_spawn() if PATH was modified in the environment.
bdrewery Mar 19, 2018
8e0faf7
Simplify PATH key comparison
bdrewery Mar 19, 2018
062a46f
Reduce diagnostic verbosity by removing labels
estebank Mar 19, 2018
df76629
Remove outdated comment
oli-obk Mar 20, 2018
5e93394
talk about --display-warnings
QuietMisdreavus Mar 20, 2018
83e9f39
talk about force-unstable-if-unmarked
QuietMisdreavus Mar 20, 2018
3c8d555
rename epoch to edition
klnusbaum Mar 15, 2018
11f1406
change all appropriate EPOCH to EDITION
klnusbaum Mar 15, 2018
b996f9d
review comments
QuietMisdreavus Mar 21, 2018
b48a26c
Produce nice array lengths on a best effort basis
oli-obk Mar 22, 2018
de1c929
Use GNU version of fgrep/egrep tool if available
semarie Mar 22, 2018
bfb94ac
Clean up raw identifier handling when recovering tokens from AST.
Lymia Mar 22, 2018
57f9c4d
Clarify description of raw_identifiers feature flag.
Lymia Mar 22, 2018
70559c5
Command::env_saw_path() may be unused on platforms not using posix_sp…
bdrewery Mar 22, 2018
7df6f41
rustc: Add a `#[wasm_custom_section]` attribute
alexcrichton Mar 9, 2018
d889957
rustc: Add a `#[wasm_import_module]` attribute
alexcrichton Feb 10, 2018
ced7687
add test for issue-48238
csmoe Mar 23, 2018
7cf4cb5
Rollup merge of #48265 - SimonSapin:nonzero, r=KodrAus
alexcrichton Mar 23, 2018
16eeb10
Rollup merge of #48624 - bdrewery:freebsd-posix-spawn, r=alexcrichton
alexcrichton Mar 23, 2018
f836ae4
Rollup merge of #48883 - alexcrichton:wasm-custom-sections, r=nikomat…
alexcrichton Mar 23, 2018
7c0c7ef
Rollup merge of #48909 - RalfJung:type_alias_bounds, r=petrochenkov
alexcrichton Mar 23, 2018
f74d01c
Rollup merge of #49028 - QuietMisdreavus:the-dark-forbidden-corners-o…
alexcrichton Mar 23, 2018
4b31b5b
Rollup merge of #49030 - Zoxc:misc, r=michaelwoerister
alexcrichton Mar 23, 2018
db2dde9
Rollup merge of #49102 - glandium:decimal, r=aturon
alexcrichton Mar 23, 2018
401a930
Rollup merge of #49160 - estebank:issue-47457-missing-fields, r=oli-obk
alexcrichton Mar 23, 2018
815171b
Rollup merge of #49169 - sanxiyn:doc-only, r=aturon
alexcrichton Mar 23, 2018
6fd3cc5
Rollup merge of #49262 - oli-obk:fixed_size_array_len, r=estebank
alexcrichton Mar 23, 2018
3624544
Rollup merge of #49272 - semarie:cat-and-grep-gnu, r=alexcrichton
alexcrichton Mar 23, 2018
d58abe7
Rollup merge of #49295 - csmoe:nll_test_48238, r=alexcrichton
alexcrichton Mar 23, 2018
82bb41b
Merge branch 'master' of https://github.com/Lymia/rust into rollup
alexcrichton Mar 23, 2018
3ebe12e
Merge branch '49001_epoch' of https://github.com/klnusbaum/rust into …
alexcrichton Mar 23, 2018
0e6cd8b
Test fixes
alexcrichton Mar 23, 2018
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions src/bootstrap/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ impl<'a> Builder<'a> {
test::RunPassFullDepsPretty, test::RunFailFullDepsPretty,
test::Crate, test::CrateLibrustc, test::CrateRustdoc, test::Linkcheck,
test::Cargotest, test::Cargo, test::Rls, test::ErrorIndex, test::Distcheck,
test::RunMakeFullDeps,
test::Nomicon, test::Reference, test::RustdocBook, test::RustByExample,
test::TheBook, test::UnstableBook,
test::Rustfmt, test::Miri, test::Clippy, test::RustdocJS, test::RustdocTheme,
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ impl Step for Assemble {
}
}

let lld_install = if build.config.lld_enabled && target_compiler.stage > 0 {
let lld_install = if build.config.lld_enabled {
Some(builder.ensure(native::Lld {
target: target_compiler.host,
}))
Expand Down
19 changes: 12 additions & 7 deletions src/bootstrap/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -759,12 +759,18 @@ test!(RunFailFullDepsPretty {
host: true
});

host_test!(RunMake {
default_test!(RunMake {
path: "src/test/run-make",
mode: "run-make",
suite: "run-make"
});

host_test!(RunMakeFullDeps {
path: "src/test/run-make-fulldeps",
mode: "run-make",
suite: "run-make-fulldeps"
});

#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
struct Compiletest {
compiler: Compiler,
Expand Down Expand Up @@ -827,8 +833,7 @@ impl Step for Compiletest {
// FIXME: Does pretty need librustc compiled? Note that there are
// fulldeps test suites with mode = pretty as well.
mode == "pretty" ||
mode == "rustdoc" ||
mode == "run-make" {
mode == "rustdoc" {
builder.ensure(compile::Rustc { compiler, target });
}

Expand All @@ -849,7 +854,7 @@ impl Step for Compiletest {
cmd.arg("--rustc-path").arg(builder.rustc(compiler));

// Avoid depending on rustdoc when we don't need it.
if mode == "rustdoc" || mode == "run-make" {
if mode == "rustdoc" || (mode == "run-make" && suite.ends_with("fulldeps")) {
cmd.arg("--rustdoc-path").arg(builder.rustdoc(compiler.host));
}

Expand Down Expand Up @@ -931,7 +936,7 @@ impl Step for Compiletest {

// 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 suite == "run-make" {
if suite == "run-make-fulldeps" {
let llvm_components = output(Command::new(&llvm_config).arg("--components"));
let llvm_cxxflags = output(Command::new(&llvm_config).arg("--cxxflags"));
cmd.arg("--cc").arg(build.cc(target))
Expand All @@ -944,12 +949,12 @@ impl Step for Compiletest {
}
}
}
if suite == "run-make" && !build.config.llvm_enabled {
if suite == "run-make-fulldeps" && !build.config.llvm_enabled {
println!("Ignoring run-make test suite as they generally don't work without LLVM");
return;
}

if suite != "run-make" {
if suite != "run-make-fulldeps" {
cmd.arg("--cc").arg("")
.arg("--cxx").arg("")
.arg("--cflags").arg("")
Expand Down
1 change: 1 addition & 0 deletions src/ci/docker/wasm32-unknown/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ENV RUST_CONFIGURE_ARGS \
--set rust.lld

ENV SCRIPT python2.7 /checkout/x.py test --target $TARGETS \
src/test/run-make \
src/test/ui \
src/test/run-pass \
src/test/compile-fail \
Expand Down
1 change: 1 addition & 0 deletions src/doc/rustdoc/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
- [The `#[doc]` attribute](the-doc-attribute.md)
- [Documentation tests](documentation-tests.md)
- [Passes](passes.md)
- [Unstable features](unstable-features.md)
Loading