Pascal Hertleif
7a738564d7
Update compiltest to use rustfix 0.3.1
2018-05-22 22:04:45 +02:00
kennytm
ada5feedda
Rollup merge of #50889 - oli-obk:clippy, r=kennytm
...
Update clippy
# Conflicts:
# src/Cargo.lock
2018-05-20 04:21:05 +08:00
Oliver Schneider
387875dfe3
Update clippy
2018-05-19 13:18:02 +02:00
Niko Matsakis
7ed0fd7699
use `reset_unifications` instead of creating new unification table
2018-05-18 15:58:23 -04:00
Nick Cameron
8de091ed4e
Update RLS and Rustfmt
2018-05-18 08:20:36 +12:00
Irina Popa
b63d7e2b1c
Rename trans to codegen everywhere.
2018-05-17 15:08:30 +03:00
Eric Huss
a233268678
Update Cargo
...
Unblocking PRs:
- rust-lang/cargo#5535 - Ignore <tab> in libtest output. (unblocks #50387 )
- rust-lang/cargo#5537 - Remove -Zno-trans test. (unblocks #50615 )
- rust-lang/cargo#5540 - Fix tests when CARGO_TARGET_DIR is set. (unblocks self)
Regression fixes:
- rust-lang/cargo#5503 - cargo rustc broken for tests in project with bins
- rust-lang/cargo#5520 - (#50640 ) shared proc-macro dependency built incorrectly
Changes:
- rust-lang/cargo#5527 - Point Source Replacement to the Overriding Dependencies section
- rust-lang/cargo#5533 - Detail how to run locally-built nightly cargo
- rust-lang/cargo#5522 - Add option to set user-agent
- rust-lang/cargo#5519 - NFC: fix a couple of typos, found by codespell.
- rust-lang/cargo#5513 - Fix `panic` for binaries built during tests.
- rust-lang/cargo#5512 - simplify build_requirements
- rust-lang/cargo#5301 - Add --build-plan for 'cargo build'
- rust-lang/cargo#5460 - Be more conservative about which files are linked to the output dir.
- rust-lang/cargo#5509 - Use the new stable
- rust-lang/cargo#5507 - Does not print seconds fraction with minutes
- rust-lang/cargo#5498 - Bump to 0.29.0
- rust-lang/cargo#5497 - Mention +nightly in ARCHITECTURE.md
2018-05-16 06:52:43 -07:00
Nick Cameron
80bfca4ab2
Update RLS and Rustfmt
2018-05-16 15:59:55 +12:00
Guillaume Gomez
934e37aeb4
Rollup merge of #50632 - GuillaumeGomez:minification, r=ollie27
...
Add minification process
r? @QuietMisdreavus
2018-05-15 14:26:59 +02:00
Nick Cameron
a10577ca53
save-analysis: handle aliasing imports a bit more nicely
2018-05-15 20:34:17 +12:00
Oliver Schneider
3a5b13ad36
Bump clippy
2018-05-14 16:11:57 +02:00
Anthony Ramine
3ebe8679d2
Introduce OperandValue::nontemporal_store and use it in the intrinsics
...
We use a new MemFlags bitflags type to merge some store code paths.
2018-05-13 10:36:28 +02:00
John Kåre Alsaker
4afdae633d
Update Cargo.lock
2018-05-13 01:28:20 +02:00
Guillaume Gomez
4b14573d50
Add minification process
2018-05-12 19:15:06 +02:00
Mark Simulacrum
575ac946bc
Rollup merge of #50607 - Zoxc:symbol-arena, r=michaelwoerister
...
Allocate Symbol strings from an arena
This is an alternative to https://github.com/rust-lang/rust/pull/50549
cc @nnethercote
r? @michaelwoerister
2018-05-12 07:32:30 -06:00
Mark Simulacrum
60f9fc2d13
Rollup merge of #50544 - Eijebong:cleanup_deps, r=alexcrichton
...
Cleanup some dependencies
2018-05-12 07:32:24 -06:00
Oliver Schneider
847bb14ee7
Update the clippy and miri submodules
2018-05-11 14:11:06 +02:00
John Kåre Alsaker
ca32340367
Allocate Symbol strings from an arena
2018-05-10 16:27:46 +02:00
Alex Crichton
7e5b9ac41e
ci: Compile LLVM with Clang 6.0.0
...
Currently on CI we predominately compile LLVM with the default system compiler
which means gcc on Linux, some version of Clang on OSX, MSVC on Windows, and
gcc on MinGW. This commit switches Linux, OSX, and Windows to all use Clang
6.0.0 to build LLVM (aka the C/C++ compiler as part of the bootstrap). This
looks to generate faster code according to #49879 which translates to a faster
rustc (as LLVM internally is faster)
The major changes here were to the containers that build Linux releases,
basically adding a new step that uses the previous gcc 4.8 compiler to compile
the next Clang 6.0.0 compiler. Otherwise the OSX and Windows scripts have been
updated to download precompiled versions of Clang 6 and configure the build to
use them.
Note that `cc` was updated here to fix using `clang-cl` with `cc-rs` on MSVC, as
well as an update to `sccache` on Windows which was needed to correctly work
with `clang-cl`. Finally the MinGW compiler is entirely left out here
intentionally as it's currently thought that Clang can't generate C++ code for
MinGW and we need to use gcc, but this should be verified eventually.
2018-05-09 14:45:34 -07:00
Bastien Orivel
da02fad2d1
Update assert_cli
...
This removes skeptic from the dependency tree which in turn removes
quite a few other dependencies
2018-05-08 21:46:55 +02:00
Bastien Orivel
bcdb67bf43
Update derive-new
...
This removes the last dependency on syn 0.12
2018-05-08 20:55:43 +02:00
Alex Butler
640e937ec3
Update clippy 0.0.197
2018-05-07 16:03:42 +01:00
Alex Butler
e4a0514bbe
Update rls 1263f1f
...
Fix rls-clippy feature compile
2018-05-07 15:25:37 +01:00
John Kåre Alsaker
e24cbe2da0
Misc tweaks
2018-05-05 20:36:46 +02:00
Pascal Hertleif
a563027cb8
Use published rustfix 0.2 version
2018-05-04 15:01:28 -07:00
Alex Crichton
fa9e55faeb
test: Make a dedicated testsuite for rustfix
...
This commit adds a dedicated mode to compiletest for running rustfix tests,
adding a new `src/test/rustfix` directory which will execute all tests as a
"rustfix" test, namely requiring that a `*.fixed` is next to the main file which
is the result of the rustfix project's application of fixes.
The `rustfix` crate is pulled in to actually perform the fixing, and the rustfix
compiletest mode will assert a few properties about the fixing:
* The expected fixed output must be the same as rustc's output suggestions
applied to the original code.
* The fixed code must compile successfully
* The fixed code must have no further diagnostics emitted about it
2018-05-04 15:01:28 -07:00
Nick Cameron
4952426c50
Update RLS and Rustfmt (and Cargo)
2018-05-04 12:33:56 +12:00
Nick Cameron
6457241133
Update RLS and Rustfmt
2018-05-02 10:20:49 +12:00
Oliver Schneider
1f3cb926a2
Update Cargo.lock
2018-04-30 18:29:15 +02:00
Alex Crichton
3565556d8b
Update `parking_lot` dependencies
...
This commit updates `parking_lot` to pull in Amanieu/parking_lot#70 and...
Closes #49438
2018-04-26 20:50:06 -07:00
Irina Popa
04fa0e7bb3
rustc_target: move in syntax::abi and flip dependency.
2018-04-26 17:49:16 +03:00
Irina Popa
3bd7efadae
rustc_target: move in type definitions from rustc_trans::abi.
2018-04-26 16:50:27 +03:00
Irina Popa
38e964077b
Rename rustc_back::target to rustc_target::spec.
2018-04-26 16:39:44 +03:00
Nick Cameron
127f9a6416
Update rustfmt and rls
2018-04-26 10:11:28 +12:00
Oliver Schneider
3084c066e4
Fix the miri tool
2018-04-23 11:38:13 +02:00
Matt Ickstadt
0ab516fdfc
Update MDBook
2018-04-22 20:35:22 -05:00
Steven Fackler
9e8f683476
Remove Alloc::oom
2018-04-22 10:08:49 -07:00
Alex Crichton
924f8c7053
Update the Cargo submodule
2018-04-20 07:18:35 -07:00
Oliver Schneider
0f1f9a79f2
Update clippy
2018-04-19 08:52:52 +02:00
Nick Cameron
70539d084e
Update Rustfmt
2018-04-18 08:21:19 +12:00
John Kåre Alsaker
19d44f2d24
Make arenas thread safe
2018-04-15 20:53:03 +02:00
Nick Cameron
eb1b502d02
Update Rustfmt
2018-04-14 13:33:28 +12:00
Simon Sapin
eae0d46893
Restore Global.oom() functionality
...
… now that #[global_allocator] does not define a symbol for it
2018-04-12 22:53:21 +02:00
Simon Sapin
86753ce1cc
Use the GlobalAlloc trait for #[global_allocator]
2018-04-12 22:53:12 +02:00
Alex Crichton
a4caac5e93
Update to most recent version of dlmalloc
...
Inline the definition of `GlobalAlloc` for `dlmalloc` on wasm and don't rely on
usage of unstable features in `dlmalloc` itself.
2018-04-12 22:53:02 +02:00
Simon Sapin
5e5a0c21fc
Separate alloc::heap::Alloc trait for stage0 #[global_allocator]
2018-04-12 22:52:54 +02:00
Simon Sapin
b2027ef17c
Deprecate the std_unicode crate
2018-04-12 00:13:51 +02:00
Oliver Schneider
3b04823dc1
Update clippy and rls
2018-04-11 13:36:31 +02:00
Nick Cameron
7e297ff96a
Update Rustfmt
2018-04-09 21:55:07 +12:00
Oliver Schneider
679657b863
Inject the `compiler_builtins` crate whenever the `core` crate is injected
2018-04-07 09:24:35 +02:00