about summary refs log tree commit diff
path: root/src/tools/rustc-workspace-hack
AgeCommit message (Collapse)AuthorLines
2023-04-16chore: remove `rustc-workspace-hack`Weihang Lo-45/+0
Co-authored-by: Scott Schafer <schaferjscott@gmail.com> Co-authored-by: Eric Huss <eric@huss.org>
2023-04-16chore: remove Cargo features in rustc-workspace-hackWeihang Lo-84/+1
2023-03-07Update cargoWeihang Lo-1/+7
23 commits in 9880b408a3af50c08fab3dbf4aa2a972df71e951..c1334b059c6dcceab3c10c81413f79bb832c8d9d 2023-02-28 19:39:39 +0000 to 2023-03-07 19:21:50 +0000 - Add `CARGO_PKG_README` (rust-lang/cargo#11645) - path dependency: fix cargo-util version (rust-lang/cargo#11807) - Adding display of which target failed to compile (rust-lang/cargo#11636) - Fix `CARGO_CFG_` vars for configs defined both with and without value (rust-lang/cargo#11790) - Breaking endless loop on cyclic features in added dependency in cargo-add (rust-lang/cargo#11805) - Enhance the doc of timing report with graphs (rust-lang/cargo#11798) - Make `sparse` the default protocol for crates.io (rust-lang/cargo#11791) - Use sha2 to calculate SHA256 (rust-lang/cargo#11795) - gitoxide progress bar fixes (rust-lang/cargo#11800) - Check publish_to_alt_registry publish content (rust-lang/cargo#11799) - chore: fix missing files in autolabel trigger_files (rust-lang/cargo#11797) - chore: Update base64 (rust-lang/cargo#11796) - Fix some doc typos (rust-lang/cargo#11794) - chore(ci): Enforce cargo-deny in CI (rust-lang/cargo#11761) - Some cleanup for unstable docs (rust-lang/cargo#11793) - gitoxide integration: fetch (rust-lang/cargo#11448) - patch can conflict on not activated packages (rust-lang/cargo#11770) - fix(toml): Provide a way to show unused manifest keys for dependencies (rust-lang/cargo#11630) - Improve error for missing crate in --offline mode for sparse index (rust-lang/cargo#11783) - feat(resolver): `-Zdirect-minimal-versions` (rust-lang/cargo#11688) - feat: Use test name for dir when running tests (rust-lang/cargo#11738) - Jobserver cleanup (rust-lang/cargo#11764) - Fix help string for "--charset" option of "cargo tree" (rust-lang/cargo#11785) Note that some 3rd-party licensing allowed list changed due to the introducion of `gix` dependency
2023-01-04Update cargoWeihang Lo-0/+2
8 commits in 2381cbdb4e9b07090f552d34a44a529b6e620e44..8c460b2237a6359a7e3335890db8da049bdd62fc 2022-12-23 12:19:27 +0000 to 2023-01-04 14:30:01 +0000 - test: revive nightly plugin tests to work (rust-lang/cargo#11534) - Add note to release notes about rejecting multiple registries. (rust-lang/cargo#11531) - Fix a typo `fresheness` -&gt; `freshness` (rust-lang/cargo#11529) - Reasons for rebuilding (rust-lang/cargo#11407) - Asymmetric tokens (rust-lang/cargo#10771) - Use proper git URL for GitHub repos (rust-lang/cargo#11517) - Add `registry.default` example (rust-lang/cargo#11516) - Support vendoring with different revs from same git repo (rust-lang/cargo#10690) Also update license exceptions and permitted dependencies for new cargo dependency "pasetors". A new dependency `getrandom` is added into `rustc-workspace-hacks`, since it requires feature `js`.
2022-11-27Update cargoWeihang Lo-0/+2
5 commits in ba607b23db8398723d659249d9abf5536bc322e5..e027c4b5d25af2119b1956fac42863b9b3242744 2022-11-22 20:52:39 +0000 to 2022-11-25 19:44:46 +0000 - fix: Move off atty to resolve soundness issue (rust-lang/cargo#11420) - add newline char to `cargo install .` error message for easier reading. (rust-lang/cargo#11401) - chore: Upgrade to env_logger (rust-lang/cargo#11417) - Change rustdoc-scrape-examples to be a target-level configuration (rust-lang/cargo#10343) - temporarily disable test `lto::test_profile` (rust-lang/cargo#11419)
2022-11-16ensure rand has its default features enabledRalf Jung-0/+2
2022-08-31update few crates to drop old depsklensy-3/+0
2022-08-27Sunset RLSEric Huss-15/+8
2022-08-02Clarify Cargo.toml commentsMahmoud Al-Qudsi-4/+3
Existing comments were left in an incoherent state after #99768.
2022-07-28fix memchr features in workspace-hackklensy-0/+4
2022-07-28update few depsklensy-2/+2
openssl-src v111.18.0+1.1.1n -> v111.22.0+1.1.1q openssl-probe v0.1.2 -> v0.1.5 indoc v1.0.3 -> v1.0.6 bstr v0.2.13 -> v0.2.17 crc32fast v1.2.0 -> v1.3.2 diff v0.1.12 -> v0.1.13 ignore v0.4.17 -> v0.4.18 globset v0.4.5 -> v0.4.9 regex v1.5.5 -> v1.5.6
2022-07-08add regex to rustc-workspace-hackRalf Jung-0/+2
2022-06-27Update `smallvec` to 1.8.1.Nicholas Nethercote-1/+1
This pulls in https://github.com/servo/rust-smallvec/pull/282, which gives some small wins for rustc.
2022-06-17Update cargoArlo Siemsen-1/+1
4 commits in 4d92f07f34ba7fb7d7f207564942508f46c225d3..8d42b0e8794ce3787c9f7d6d88b02ae80ebe8d19 2022-06-10 01:11:04 +0000 to 2022-06-17 16:46:26 +0000 - Use specific terminology for sparse HTTP-based registry (rust-lang/cargo#10764) - chore: Upgrade to clap 3.2 (rust-lang/cargo#10753) - Improve testing framework for http registries (rust-lang/cargo#10738) - doc: Improve example of using the links field (rust-lang/cargo#10728)
2022-06-13deps: add clap to workspace hackCaleb Cartwright-0/+1
2022-06-06Add winnt feature to winapi in rustc-workspace-hackPhilipp Krones-0/+1
2021-10-12Update winapi shared features.Eric Huss-0/+2
Needed due to os_info.
2021-09-20Migrate to 2021Mark Rousskov-1/+1
2021-07-29rfc3052: Remove authors field from Cargo manifestsJade-1/+0
Since RFC 3052 soft deprecated the authors field anyway, hiding it from crates.io, docs.rs, and making Cargo not add it by default, and it is not generally up to date/useful information, we should remove it from crates in this repo.
2021-07-23Add missing winapi feature to workspace hackMark Rousskov-1/+9
2021-06-29Rollup merge of #86529 - cuviper:ssl3, r=Mark-SimulacrumYuki Okushi-1/+1
Add support for OpenSSL 3.0.0 This updates the `openssl` and `openssl-sys` crates to support building the toolchain with system libraries up to OpenSSL 3.0.0. This does not affect the static version used via `openssl-src` in CI builds. ref: https://github.com/sfackler/rust-openssl/pull/1264
2021-06-28Bump the workspace dependency for OpenSSL 3Josh Stone-1/+1
2021-06-23Add bstr to rustc-workspace-hack for rustfmt/cargo.Eric Huss-0/+1
2021-04-23Lock down rand_core 0.5.1 to specific featuresJubilee Young-0/+1
2021-04-23Use latest crossbeamJubilee Young-1/+1
2021-04-21Use arrayvec 0.7, drop smallvec 0.6Jubilee Young-1/+0
With the arrival of min const generics, many alt-vec libraries have updated to use it in some way and arrayvec is no exception. Use the latest with minor refactoring. Also, rustc_workspace_hack is the only user of smallvec 0.6 in the entire tree, so drop it.
2021-02-14bumped smallvec depsklensy-2/+2
2020-12-23Add libz-sys to rustc-workspace-hack.Eric Huss-0/+2
https://github.com/alexcrichton/curl-rust/pull/351 changed curl-rust to no longer enable the default features of libz-sys. Because rustfmt includes rustc-workspace-hack with the rustc-workspace-hack/all-static feature (sometimes), it ends up building libz-sys without the default features. This causes a duplicate with other packages (like rls) which enable the default features.
2020-12-05Add libc to rustc-workspace-hackIgor Matuszewski-0/+1
2020-11-06Bump Rustfmt and RLSAlessandro Ghedini-0/+1
Should hopefully fix #78341 and #78340.
2020-10-24Add unbounded_depth to serde_json (clippy-driver)Eduardo Broto-1/+1
2020-09-05Update RLS and RustfmtCaleb Cartwright-1/+1
2020-06-22Stop using old version of `syn` in `rustc-workspace-hack`Aaron Hill-2/+1
None of the tools seem to need syn 0.15.35, so we can just build syn 1.0. This was causing an issue with clippy's `compile-test` program: since multiple versions of `syn` would exist in the build directory, we would non-deterministically pick one based on filesystem iteration order. If the pre-1.0 version of `syn` was picked, a strange build error would occur (see https://github.com/rust-lang/rust/pull/73594#issuecomment-647671463) To prevent this kind of issue from happening again, we now panic if we find multiple versions of a crate in the build directly, instead of silently picking the first version we find.
2020-05-29Add fibersapi feature to winapi in rustc-workspace-hackflip1995-0/+1
Co-authored-by: Eric Huss <ehuss@users.noreply.github.com>
2020-05-05Unify winapi features for toolsTyler Mandry-1/+2
2020-05-05Unify some syn 1.0 et al. features for toolsIgor Matuszewski-1/+4
2020-04-05rustc-workspace-hack: Account for upgraded crossbeam-utils 0.7Igor Matuszewski-1/+1
2020-01-14Update cargo, rlsEric Huss-1/+1
2019-12-26Add unicode-normalization to whitelist.Charles Lew-1/+2
2019-10-31Adjust rustc-workspace-hackmsizanoen1-1/+1
2019-10-01Update `Cargo.lock` for cargo updateAlex Crichton-0/+1
2019-09-18Update CargoAaron Hill-0/+1
This pulls in https://github.com/rust-lang/cargo/pull/7159, which ensures that documenting proc macros works correctly.
2019-09-16with byteorder 1.3, the i128 feature is a NOPRalf Jung-1/+0
2019-09-12Trim rustc-workspace-hackMateusz MikuĊ‚a-10/+0
2019-07-30Enable nightly feature for crossbeam-utils depIgor Matuszewski-0/+1
Last two commits bumped rustc-ap-* crates which also transitively updated rustc_data_structures. That crate enables the "nightly" whereas Cargo's dep does not hence why we need to unify the features to deduplicate the artifacts.
2019-06-17Add `syn` to workspace hack.Eric Huss-2/+3
Cargo's syn now has the `full` feature, so add it here to keep it in sync.
2019-06-05rustbuild: Include `rustfmt` in deduplicated dependenciesAlex Crichton-1/+8
Currently `rustfmt` is excluded from the "don't build dependencies twice" check but it's currently building dependencies twice! Namely big dependencies like `rustc-ap-syntax` are built once for rustfmt and once for the RLS. This commit includes `rustfmt` in these checks and then fixes the resulting feature mismatches for winapi.
2019-05-25std: Depend on `backtrace` crate from crates.ioAlex Crichton-0/+1
This commit removes all in-tree support for generating backtraces in favor of depending on the `backtrace` crate on crates.io. This resolves a very longstanding piece of duplication where the standard library has long contained the ability to generate a backtrace on panics, but the code was later extracted and duplicated on crates.io with the `backtrace` crate. Since that fork each implementation has seen various improvements one way or another, but typically `backtrace`-the-crate has lagged behind libstd in one way or another. The goal here is to remove this duplication of a fairly critical piece of code and ensure that there's only one source of truth for generating backtraces between the standard library and the crate on crates.io. Recently I've been working to bring the `backtrace` crate on crates.io up to speed with the support in the standard library which includes: * Support for `StackWalkEx` on MSVC to recover inline frames with debuginfo. * Using `libbacktrace` by default on MinGW targets. * Supporting `libbacktrace` on OSX as an option. * Ensuring all the requisite support in `backtrace`-the-crate compiles with `#![no_std]`. * Updating the `libbacktrace` implementation in `backtrace`-the-crate to initialize the global state with the correct filename where necessary. After reviewing the code in libstd the `backtrace` crate should be at exact feature parity with libstd today. The backtraces generated should have the same symbols and same number of frames in general, and there's not known divergence from libstd currently. Note that one major difference between libstd's backtrace support and the `backtrace` crate is that on OSX the crates.io crate enables the `coresymbolication` feature by default. This feature, however, uses private internal APIs that aren't published for OSX. While they provide more accurate backtraces this isn't appropriate for libstd distributed as a binary, so libstd's dependency on the `backtrace` crate explicitly disables this feature and forces OSX to use `libbacktrace` as a symbolication strategy. The long-term goal of this refactoring is to eventually move us towards a world where we can drop `libbacktrace` entirely and simply use Gimli and the surrounding crates for backtrace support. That's still aways off but hopefully will much more easily enabled by having the source of truth for backtraces live in crates.io! Procedurally if we go forward with this I'd like to transfer the `backtrace-rs` crate to the rust-lang GitHub organization as well, but I figured I'd hold off on that until we get closer to merging.
2019-05-09Switch to SPDX 2.1 license expressionDavid Tolnay-1/+1
According to the Cargo Reference: https://doc.rust-lang.org/cargo/reference/manifest.html > This is an SPDX 2.1 license expression for this package. Currently > crates.io will validate the license provided against a whitelist of > known license and exception identifiers from the SPDX license list > 2.4. Parentheses are not currently supported. > > Multiple licenses can be separated with a `/`, although that usage > is deprecated. Instead, use a license expression with AND and OR > operators to get more explicit semantics.
2019-04-03try to fix rand feature flagsRalf Jung-1/+1