Commit Graph

495 Commits

Author SHA1 Message Date
Igor Matuszewski 3a17cf7f8f Bump serde_json 1.0.24 -> 1.0.25
This fixes 'cannot find macro `json_internal!` in this scope' RLS
compilation error in Rust CI, presumably due to a local macro fix in
serde_json 1.0.25
(e40cbad70b)
2018-08-25 19:44:15 +02:00
Igor Gutorov 4d81fe9243 Use optimized SmallVec implementation 2018-08-23 10:45:53 +03:00
Guillaume Gomez 55d98236f9
Rollup merge of #53442 - staktrace:rlsbump, r=nrc
Update version of rls-data used with save-analysis

This part 1/3 for fixing rust-lang/rust#53440.
2018-08-22 17:45:32 +02:00
Eduard-Mihai Burtescu 9b1d3c70ac rustc_resolve: don't allow paths starting with `::crate`. 2018-08-17 12:59:56 +03:00
Kartikaya Gupta a50f29a47b Update version of rls-data used with save-analysis
This part 1/3 for fixing rust-lang/rust#53440.
2018-08-16 21:40:52 -04:00
kennytm 0c9e0e33b4
Rollup merge of #53377 - cuviper:pointer-elf_size, r=alexcrichton
std: Use target_pointer_width for BACKTRACE_ELF_SIZE

The former code used `target.contains("64")` to detect Elf64 targets,
but this is inaccurate in a few cases:

- `s390x-unknown-linux-gnu` is 64-bit
- `sparcv9-sun-solaris` is 64-bit
- `x86_64-unknown-linux-gnux32` is 32-bit

Instead the `std` build script can use `CARGO_CFG_TARGET_POINTER_WIDTH`
to reliably detect 64-bit targets for libbacktrace.

Also update to backtrace-sys 0.1.24 for alexcrichton/backtrace-rs#122.
2018-08-17 00:13:25 +08:00
Guillaume Gomez 7acfa8615a
Rollup merge of #53388 - GuillaumeGomez:fix-links-color, r=frewsxcv
Fix links' color

Fixes #53375.

Problem was coming from the minifier.

r? @frewsxcv
2018-08-15 19:20:28 +02:00
Guillaume Gomez cf5ee8f59b Fix links' color 2018-08-15 15:07:07 +02:00
Eric Huss 9730871773 Update cargo 2018-08-14 22:24:41 -07:00
Josh Stone e0d8364dad std: Use target_pointer_width for BACKTRACE_ELF_SIZE
The former code used `target.contains("64")` to detect Elf64 targets,
but this is inaccurate in a few cases:

- `s390x-unknown-linux-gnu` is 64-bit
- `sparcv9-sun-solaris` is 64-bit
- `x86_64-unknown-linux-gnux32` is 32-bit

Instead the `std` build script can use `CARGO_CFG_TARGET_POINTER_WIDTH`
to reliably detect 64-bit targets for libbacktrace.

Also update to backtrace-sys 0.1.24 for alexcrichton/backtrace-rs#122.
2018-08-14 21:08:42 -07:00
Tom Tromey 6e3a4f4ddd Add lldb to the build
This optionally adds lldb (and clang, which it needs) to the build.

Because rust uses LLVM 7, and because clang 7 is not yet released, a
recent git master version of clang is used.

The lldb that is used includes the Rust plugin.

lldb is only built when asked for, or when doing a nightly build on
macOS.  Only macOS is done for now due to difficulties with the Python
dependency.
2018-08-14 18:59:23 -06:00
ljedrz e5e6375352 Move SmallVec and ThinVec out of libsyntax 2018-08-13 22:11:57 +02:00
Nick Cameron 4076dc46ae
Update RLS 2018-08-11 14:54:21 +08:00
Mark Rousskov e3177c6f3f Move rustc::util::fs into separate (new) crate 2018-08-09 10:00:25 -06:00
Linus Färnstrand e96b760757 Update libc to 0.2.43 in Cargo.lock 2018-08-08 10:52:10 +02:00
Nick Cameron b6d0514492 Update RLS and Rustfmt 2018-08-08 18:06:58 +12:00
Mark Rousskov d8e8a50cf2 Building librustc_codegen_llvm in a separate directory
This allows clearing it out and building it separately from the
compiler. Since it's essentially a different and separate crate this
makes sense to do, each cargo invocation should generally happen in its
own directory.
2018-08-06 07:00:34 -06:00
Nick Cameron 9a769c66e9 Update rustfmt and RLS 2018-08-05 10:07:19 +12:00
Mark Rousskov 6fdd6f65ca Move unused trait functions to inherent functions 2018-08-03 11:44:09 -06:00
Mark Rousskov 5aec365cb9 Store concrete crate stores where possible 2018-08-03 11:09:49 -06:00
Mark Rousskov d4beecaed3 Move validate_crate_name to rustc_metadata 2018-08-03 11:09:02 -06:00
Alex Crichton 0e034d162a Update Cargo submodule
Bring in some fixes for `cargo fix` notably
2018-08-02 18:09:19 -07:00
Pietro Albini acff794b68
Rollup merge of #52732 - SimonSapin:spring, r=Mark-Simulacrum
Remove unstable and deprecated APIs
2018-08-01 10:12:36 +02:00
Simon Sapin d8b3c830fb Remove the unstable std_unicode crate, deprecated since 1.27
Its former contents are now in libcore.
2018-07-30 18:18:04 +02:00
Irina Popa 077be49bde rustc_llvm: move to rustc_codegen_llvm::llvm. 2018-07-30 18:03:50 +03:00
Oliver Schneider b92f0478c1 Update miri submodule 2018-07-29 20:24:26 +02:00
kennytm cab21f12d5
Update RLS and rustfmt. 2018-07-29 19:05:42 +08:00
Alex Crichton fa5b3d31fa Update the Cargo submodule and rustfix
Should hopefully bring in a few more `cargo fix`-related fixes.
2018-07-28 09:50:34 -07:00
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