rust/src/tools
Mazdak Farrokhzad 4c3e95e84b
Rollup merge of #67074 - ehuss:extern-options, r=petrochenkov
Add options to --extern flag.

This changes the `--extern` flag so that it can take a series of options that changes its behavior. The general syntax is `[opts ':'] name ['=' path]` where `opts` is a comma separated list of options. Two options are supported, `priv` which replaces `--extern-private` and `noprelude` which avoids adding the crate to the extern prelude.

```text
--extern priv:mylib=/path/to/libmylib.rlib
--extern noprelude:alloc=/path/to/liballoc.rlib
```

`noprelude` is to be used by Cargo's build-std feature in order to use `--extern` to reference standard library crates.

This also includes a second commit which adds the `aux-crate` directive to compiletest. I can split this off into a separate PR if desired, but it helps with defining these kinds of tests. It is based on #54020, and can be used in the future to replace and simplify some of the Makefile tests.
2019-12-11 10:10:44 +01:00
..
build-manifest more correct error msg 2019-11-04 10:10:49 +01:00
cargo@626f0f40ef Update cargo 2019-12-03 10:22:00 -08:00
cargotest cargotest: bump iron 2019-09-26 07:50:39 +02:00
clippy@374db5c0b7 Update Clippy 2019-12-04 01:37:28 +01:00
compiletest compiletest: add aux-crate directive 2019-12-09 08:08:27 -08:00
error_index_generator Remove useless line for error index generation 2019-11-23 22:07:52 +01:00
linkchecker Remove InternedString. 2019-10-21 18:30:40 +11:00
miri@048af40923 update Miri 2019-12-08 11:34:36 +01:00
remote-test-client Add #![deny(warnings)] to internal tools 2019-09-23 09:34:44 -07:00
remote-test-server Add #![deny(warnings)] to internal tools 2019-09-23 09:34:44 -07:00
rls@8f1c2756d7 Update RLS and Rustfmt 2019-12-10 20:01:55 +01:00
rust-installer@9f66c14c3f Update rust-installer to limit memory use 2019-08-28 14:48:02 -07:00
rustbook Update mdbook. 2019-11-12 10:14:48 -08:00
rustc-std-workspace-alloc Update version of rustc-std-workspace-* crates 2019-09-09 13:02:10 -07:00
rustc-std-workspace-core Update version of rustc-std-workspace-* crates 2019-09-09 13:02:10 -07:00
rustc-std-workspace-std Update version of rustc-std-workspace-* crates 2019-09-09 13:02:10 -07:00
rustc-workspace-hack Adjust rustc-workspace-hack 2019-10-31 13:12:35 +07:00
rustdoc Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
rustdoc-js Move documentation build into bootstrap 2019-02-25 17:46:06 +01:00
rustdoc-js-std Make js tests work even with resource-suffix option 2019-03-10 23:10:40 +01:00
rustdoc-themes remove -Z option from rustdoc theme checker tool 2019-11-18 16:43:48 +01:00
rustfmt@1838235248 Update RLS and Rustfmt 2019-12-10 20:01:55 +01:00
tidy tidy: adjust feature gating path 2019-11-30 06:32:49 +01:00
unstable-book-gen Add #![deny(warnings)] to internal tools 2019-09-23 09:34:44 -07:00
publish_toolstate.py Add JohnTitor to rustc-guide toolstate notification list 2019-11-18 00:47:38 +09:00