asm_tl 0.1.0

2x-3x faster than rustedbytes-tl, thanks to Assembly
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    let arch = std::env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default();
    let os = std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default();

    if arch == "x86_64" && os == "linux" {
        cc::Build::new()
            .file("src/asm/x86_64/html_core.S")
            .compile("rbtl_html_core");
        println!("cargo:rerun-if-changed=src/asm/x86_64/html_core.S");
    }
}