app-memory-usage-fetcher 0.2.1

Query a supported operating system to get the amount of memory used by the current Rust application.
Documentation
1
2
3
4
5
6
7
// SPDX-License-Identifier: Apache-2.0

fn main() {
    cc::Build::new()
        .file("src/os_function_calls.c")
        .compile("osfuncs");
}