-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Port #[allow_internal_unsafe]
to the new attribute system (attempt 2)
#145155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Some changes occurred in compiler/rustc_hir/src/attrs Some changes occurred in compiler/rustc_passes/src/check_attr.rs Some changes occurred in compiler/rustc_attr_parsing |
This is going to need a perf run. |
@bors2 try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (8e5c5f0): comparison URL. Overall result: no relevant changes - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary 6.9%, secondary -0.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -2.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 463.949s -> 464.997s (0.23%) |
Yeepee, perf problem fixed ✨ |
Yay! Ok let's merge this version then. Damn that makes a large difference |
@bors r+ rollup=never |
@bors rollup=always (easy to revert anyway and this version seems to have no perf problems at all) |
…szelmann Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2) This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de. r? `@jdonszelmann` 💖
…szelmann Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2) This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de. r? ``@jdonszelmann`` 💖
Per #145195 (comment), this PR seems to have a soft-conflict with #144544. I'm going to temporarily r- this for now to give that other PR a chance to land, after which this one will need a rebase and re-bless. @bors r- |
f777067
to
6603fe1
Compare
#144544 has been merged, i rebased this on |
@rustbot ready |
@bors r+ |
…szelmann Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2) This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de. r? `@jdonszelmann` 💖
…szelmann Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2) This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de. r? ``@jdonszelmann`` 💖
…szelmann Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2) This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de. r? ```@jdonszelmann``` 💖
…szelmann Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2) This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de. r? ````@jdonszelmann```` 💖
Rollup of 15 pull requests Successful merges: - #131477 (Apple: Always pass SDK root when linking with `cc`, and pass it via `SDKROOT` env var) - #139806 (std: sys: pal: uefi: Overhaul Time) - #144386 (Extract TraitImplHeader in AST/HIR) - #144542 (Stabilize `sse4a` and `tbm` target features) - #144921 (Don't emit `rustdoc::broken_intra_doc_links` for GitHub-flavored Markdown admonitions like `[!NOTE]`) - #145155 (Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)) - #145214 (fix: re-enable self-assignment) - #145216 (rustdoc: correct negative-to-implicit discriminant display) - #145238 (Tweak invalid builtin attribute output) - #145249 (Rename entered trace span variables from `_span` to `_trace`) - #145251 (Support using #[unstable_feature_bound] on trait) - #145253 (Document compiler and stdlib in stage1 in `pr-check-2` CI job) - #145260 (Make explicit guarantees about `Vec`’s allocator) - #145263 (Update books) - #145273 (Account for new `assert!` desugaring in `!condition` suggestion) r? `@ghost` `@rustbot` modify labels: rollup
…szelmann Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2) This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de. r? `````@jdonszelmann````` 💖
Rollup of 14 pull requests Successful merges: - #131477 (Apple: Always pass SDK root when linking with `cc`, and pass it via `SDKROOT` env var) - #139806 (std: sys: pal: uefi: Overhaul Time) - #144210 (std: thread: Return error if setting thread stack size fails) - #144386 (Extract TraitImplHeader in AST/HIR) - #144921 (Don't emit `rustdoc::broken_intra_doc_links` for GitHub-flavored Markdown admonitions like `[!NOTE]`) - #145155 (Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)) - #145214 (fix: re-enable self-assignment) - #145216 (rustdoc: correct negative-to-implicit discriminant display) - #145238 (Tweak invalid builtin attribute output) - #145249 (Rename entered trace span variables from `_span` to `_trace`) - #145251 (Support using #[unstable_feature_bound] on trait) - #145253 (Document compiler and stdlib in stage1 in `pr-check-2` CI job) - #145263 (Update books) - #145273 (Account for new `assert!` desugaring in `!condition` suggestion) r? `@ghost` `@rustbot` modify labels: rollup
…szelmann Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2) This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de. r? ``````@jdonszelmann`````` 💖
Rollup of 17 pull requests Successful merges: - #131477 (Apple: Always pass SDK root when linking with `cc`, and pass it via `SDKROOT` env var) - #139806 (std: sys: pal: uefi: Overhaul Time) - #144210 (std: thread: Return error if setting thread stack size fails) - #144386 (Extract TraitImplHeader in AST/HIR) - #144921 (Don't emit `rustdoc::broken_intra_doc_links` for GitHub-flavored Markdown admonitions like `[!NOTE]`) - #145155 (Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2)) - #145214 (fix: re-enable self-assignment) - #145216 (rustdoc: correct negative-to-implicit discriminant display) - #145238 (Tweak invalid builtin attribute output) - #145249 (Rename entered trace span variables from `_span` to `_trace`) - #145251 (Support using #[unstable_feature_bound] on trait) - #145253 (Document compiler and stdlib in stage1 in `pr-check-2` CI job) - #145260 (Make explicit guarantees about `Vec`’s allocator) - #145263 (Update books) - #145273 (Account for new `assert!` desugaring in `!condition` suggestion) - #145283 (Make I-miscompile imply I-prioritize) - #145291 (bootstrap: Only warn about `rust.debug-assertions` if downloading rustc) r? `@ghost` `@rustbot` modify labels: rollup
…szelmann Port `#[allow_internal_unsafe]` to the new attribute system (attempt 2) This is a slightly modified version of ae1487a, which caused a performance regression (reverted in rust-lang#145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de. r? ```````@jdonszelmann``````` 💖
This is a slightly modified version of ae1487a, which caused a performance regression (reverted in #145086 (comment)). The diff between this PR and the previous one can be seen in 027a1de.
r? @jdonszelmann 💖