We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cd897a commit 4fe6ad1Copy full SHA for 4fe6ad1
tests/ui/linkage-attr/link-section-placement.rs
@@ -1,8 +1,9 @@
1
+//! Test placement of functions and statics in custom link sections
2
+
3
//@ run-pass
4
5
// FIXME(static_mut_refs): Do not allow `static_mut_refs` lint
6
#![allow(static_mut_refs)]
-
7
#![allow(non_upper_case_globals)]
8
#[cfg(not(target_vendor = "apple"))]
9
#[link_section = ".moretext"]
0 commit comments