Ralf Jung
a171ed2164
revert accidental atty downgrade
2018-07-27 15:10:52 +02:00
Niko Matsakis
40498bae65
simplify NLLRegionVariableOrigin
2018-07-25 06:38:19 +03:00
Eric Huss
bf2fc77a2f
Fix color detection for Windows msys terminals.
2018-07-22 11:19:44 -07:00
Manish Goregaokar
d63e9257b9
Update clippy
2018-07-20 20:58:06 +02:00
Alex Crichton
52d7ee83c0
Update Cargo submodule
2018-07-18 15:30:39 -07:00
Ralf Jung
f684f80e95
update miri
2018-07-17 11:40:57 +02:00
Oliver Schneider
0ad54535b1
Update clippy and rls
2018-07-15 02:04:44 +02:00
kennytm
6aab3d0ca1
Update [patch] section of clippy to include clippy_lints.
2018-07-12 11:01:59 +08:00
Oliver Schneider
68620b14a2
Inject clippy into the rls again
...
Also makes sure we actually point to the local rls
2018-07-09 10:10:42 +02:00
bjorn3
23c0b3b75c
Update Cargo.lock
2018-07-07 11:05:21 +02:00
bjorn3
95ed511514
Mostly fix compiling without LLVM (with metadata_only backend)
2018-07-07 10:51:51 +02:00
Bastien Orivel
933c299443
Dedupe filetime
2018-07-06 22:52:40 +02:00
Nick Cameron
7717705c35
Update RLS, Rustfmt, Cargo, and Clippy
2018-07-06 20:58:21 +12:00
Alex Crichton
d825115978
Update Cargo.lock dependencies
...
Run `cargo update` and let's see how far we can get!
2018-07-05 09:30:27 -07:00
Oliver Schneider
6d114399f8
Make sure clippy does not duplicate depenencies
2018-07-02 10:36:07 +02:00
Oliver Schneider
8f55152f84
Did you mean to block nightlies on clippy?
2018-07-01 01:35:39 +02:00
Mark Simulacrum
ad97f8b491
Bootstrap from 1.28.0-beta.3
2018-06-30 13:17:49 -07:00
Michael Woerister
5a6dc8c4f5
Add SSE2 accelerated version of FileMap analysis.
2018-06-27 14:00:34 +02:00
Guillaume Gomez
f7485df05b
Minify css
2018-06-25 23:28:20 +02:00
Mark Mansi
792772a93b
Prohibit global_allocator in submodules for now
...
- we need to figure out hygiene first
- change the test to check that the prohibition works with a good error
msg
- leaves some comments and debugging code
- leaves some of our supposed fixes
2018-06-24 16:15:13 -05:00
Amanieu d'Antras
c44be4c231
Update Cargo.lock
2018-06-23 19:15:34 +01:00
Bastien Orivel
9d5b13e74b
Replace tempdir by tempfile in librustc
...
This removes the last dependency on tempdir.
2018-06-20 19:28:27 +02:00
Bastien Orivel
677eeaaa61
Replace tempdir by tempfile in librustc_trans
2018-06-20 19:28:27 +02:00
Bastien Orivel
ae9a27185e
Replace tempdir by tempfile in librustdoc
2018-06-20 19:28:27 +02:00
kennytm
c843607bcc
Rollup merge of #51407 - nrc:update, r=Mark-Simulacrum
...
Update RLS and Rustfmt
r? @Mark-Simulacrum
Fixes tests
2018-06-08 07:05:45 +08:00
kennytm
b94b89b2ee
Rollup merge of #51380 - Mark-Simulacrum:remove-fmt-macros, r=oli-obk
...
Remove dependency on fmt_macros from typeck
None
2018-06-08 07:05:42 +08:00
Nick Cameron
acd4fe8974
Update RLS and Rustfmt
2018-06-07 15:14:49 +12:00
John Kåre Alsaker
f273f285b8
Update Cargo
2018-06-06 15:25:47 +02:00
Mark Simulacrum
b1a8088fdb
Remove fmt_macros dependency
2018-06-05 15:55:07 -06:00
Vytautas Astrauskas
1404c00eb0
Allow choosing Polonius algorithm via environment variable POLONIUS_ALGORITHM.
2018-06-02 14:17:12 +02:00
John Kåre Alsaker
461fa8495e
Update Cargo.lock
2018-06-01 15:00:17 +02:00
Alex Crichton
7c14a54bc8
Replace libbacktrace with a submodule
...
While we're at it update the `backtrace` crate from crates.io. It turns out that
the submodule's configure script has gotten a lot more finnicky as of late so
also switch over to using the `cc` crate manually which allows to avoid some
hacks around the configure script as well
2018-05-30 05:58:23 -07:00
Niko Matsakis
c3d688962d
WIP fix rustc-hash cargo.lock entry for polonius-engine
2018-05-29 09:39:32 -04:00
Santiago Pastorino
9de4e342df
Use polonius_output
2018-05-29 10:19:46 -03:00
Douglas Campos
422fe7c8e8
bump polonius engine
2018-05-29 10:19:45 -03:00
John Kåre Alsaker
7ebd4d637d
Update rustc-hash to hash up to 8 bytes at once with FxHasher
2018-05-28 20:40:31 +02:00
Nick Cameron
0e6fff80c7
Update RLS, Rustfmt, and Cargo
2018-05-28 14:12:18 +12:00
Mateusz Mikuła
05f15d45c3
Update cargo
2018-05-27 00:00:34 +02:00
kennytm
e667e7be60
Rollup merge of #51047 - spastorino:use_polonius_engine_facts, r=nikomatsakis
...
Use AllFacts from polonius-engine
2018-05-26 19:32:22 +08:00
Santiago Pastorino
8429d11a0b
Use AllFacts from polonius-engine
2018-05-24 19:56:02 -03:00
Niko Matsakis
9c548bf26d
get rustc_hash
from external crate
2018-05-24 12:01:27 -04:00
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
steveklabnik
ecfbaca13e
update mdbook
...
This includes search for all books, a long-requested feature!
2018-04-05 15:03:26 -04:00
Boris-Chengbiao Zhou
ae86e83c52
Update RLS
2018-04-04 23:44:09 +02:00
Mark Simulacrum
b0dbc7c15d
Implement generating graphs of the build steps
2018-04-03 11:43:12 -06:00
Mark Simulacrum
42fde21c27
Add tests to rustbuild
...
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-04-03 11:41:50 -06:00
Alex Crichton
e9d898318c
Bump to 1.27.0
...
Also update some `Cargo.lock` dependencies, finishing up some final steps of our
[release process]!
This doesn't update the bootstrap compiler just yet but that will come in a
follow-up PR.
[release process]: https://forge.rust-lang.org/release-process.html
2018-04-02 12:42:44 -07:00
Mark Simulacrum
36f9f76356
Rollup merge of #49549 - Mark-Simulacrum:bootstrap-cleanup, r=alexcrichton
...
Remove filetime dep from build_helper
r? @alexcrichton
2018-04-01 18:04:57 +02:00
Mark Simulacrum
86915ddf30
Remove filetime dep from build_helper
2018-04-01 04:49:21 -06:00
Manish Goregaokar
6a5bf5e180
Bump lockfile
2018-03-30 11:08:58 +02:00
Aleksey Kladov
850156aa27
Update Cargo
...
This includes rust-lang/cargo#5255 which fixed regression in
`cargo rustdoc` command.
2018-03-29 10:35:15 +03:00