portable_link_section 0.1.0

A portable version of the #[link_section] macro.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[test]
fn failures() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/fail/*.rs");
}

#[test]
fn passes() {
    let t = trybuild::TestCases::new();
    t.pass("tests/ui/pass/*.rs");
}