forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#134865 - clubby789:proc-macro-tls, r=onur-o…
…zkan bootstrap: Don't apply -Ztls-model=initial-exec to deps of proc-macros Fixes rust-lang#134863 1. Checks if a crate name is in a static list before applying the flag 2. Adds a tidy check that gathers transitive deps of proc macros and ensures the list is up to date cc ``@bjorn3`` - the issue specifies `rustc_fluent_macro` but I assume this applies to all proc macro crates.
- Loading branch information
Showing
6 changed files
with
171 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/// Do not update manually - use `./x.py test tidy --bless` | ||
/// Holds all direct and indirect dependencies of proc-macro crates in tree. | ||
/// See https://github.com/rust-lang/rust/issues/134863 | ||
pub static CRATES: &[&str] = &[ | ||
// tidy-alphabetical-start | ||
"annotate-snippets", | ||
"anstyle", | ||
"basic-toml", | ||
"block-buffer", | ||
"bumpalo", | ||
"cfg-if", | ||
"cpufeatures", | ||
"crypto-common", | ||
"darling", | ||
"darling_core", | ||
"derive_builder_core", | ||
"digest", | ||
"fluent-bundle", | ||
"fluent-langneg", | ||
"fluent-syntax", | ||
"fnv", | ||
"generic-array", | ||
"heck", | ||
"ident_case", | ||
"intl-memoizer", | ||
"intl_pluralrules", | ||
"libc", | ||
"log", | ||
"memchr", | ||
"mime", | ||
"mime_guess", | ||
"minimal-lexical", | ||
"nom", | ||
"num-conv", | ||
"once_cell", | ||
"pest", | ||
"pest_generator", | ||
"pest_meta", | ||
"proc-macro2", | ||
"quote", | ||
"rinja_parser", | ||
"rustc-hash", | ||
"self_cell", | ||
"serde", | ||
"sha2", | ||
"smallvec", | ||
"stable_deref_trait", | ||
"strsim", | ||
"syn", | ||
"synstructure", | ||
"thiserror", | ||
"time-core", | ||
"tinystr", | ||
"type-map", | ||
"typenum", | ||
"ucd-trie", | ||
"unic-langid", | ||
"unic-langid-impl", | ||
"unic-langid-macros", | ||
"unicase", | ||
"unicode-ident", | ||
"unicode-width", | ||
"version_check", | ||
"wasm-bindgen-backend", | ||
"wasm-bindgen-macro-support", | ||
"wasm-bindgen-shared", | ||
"yoke", | ||
"zerofrom", | ||
"zerovec", | ||
// tidy-alphabetical-end | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters