Skip to content

Commit

Permalink
Unrolled build for rust-lang#132495
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#132495 - Houtamelo:remove_unintended_link, r=jieyouxu

Remove unintended link

Since `#[link_section]` is enclosed in braces, it was being confused with a link during docs compilation.

This caused compilation to fail when running `x dist` since it emitted a warning regarding broken links.
  • Loading branch information
rust-timer authored Nov 2, 2024
2 parents 588a420 + 102fac7 commit 86381e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/thread_local/guard/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
//! This apparently translates to any callbacks in the ".CRT$XLB" section
//! being run on certain events.
//!
//! So after all that, we use the compiler's #[link_section] feature to place
//! So after all that, we use the compiler's `#[link_section]` feature to place
//! a callback pointer into the magic section so it ends up being called.
//!
//! # What's up with this callback?
Expand Down

0 comments on commit 86381e7

Please sign in to comment.