byte_set 0.1.0

Efficient sets of bytes.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::env;

fn main() {
    let use64 = env::var_os("CARGO_CFG_TARGET_POINTER_WIDTH")
        .map(|width| width == "64")
        .unwrap_or(false);

    // TODO(#3): Use 64-bit chunk on 32-bit targets with 64-bit instructions.
    if use64 {
        println!("cargo:rustc-cfg=byte_set_chunk_64");
    }
}