cabinpkg 0.16.0

A package manager and build system for C/C++
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[test]
fn built_in_profile_table_lists_c_and_cxx_standard_flags() {
    let docs = include_str!("../../../../docs/profiles.md");
    assert!(
        docs.contains("| Profile   | `debug` | `opt-level` | `assertions` | C compile flags"),
        "profile docs should distinguish C/C++ standard flags"
    );
    assert!(
        docs.contains("`-std=<c-standard> -O0 -g`")
            && docs.contains("`-std=<cxx-standard> -O0 -g`"),
        "profile docs must show both C/C++ standard-flag slots"
    );
    assert!(
        docs.contains("language-standards.md"),
        "profile docs must point at the language-standards layer"
    );
}