Sha256: 502cb7494549bed6fa10ac7bea36e880eeb60290dc69b679ac5c92b376469562

Contents?: true

Size: 482 Bytes

Versions: 56

Compression:

Stored size: 482 Bytes

Contents

// The target triplets have the form of 'arch-vendor-system'.
//
// When building for Linux (e.g. the 'system' part is
// 'linux-something'), replace the vendor with 'unknown'
// so that mapping to rust standard targets happens correctly.
fn convert_custom_linux_target(target: String) -> String {
    let mut parts: Vec<&str> = target.split('-').collect();
    let system = parts.get(2);
    if system == Some(&"linux") {
        parts[1] = "unknown";
    };
    parts.join("-")
}

Version data entries

56 entries across 37 versions & 1 rubygems

Version Path
wasmtime-28.0.0 ./ext/cargo-vendor/crossbeam-utils-0.8.21/build-common.rs
wasmtime-27.0.0 ./ext/cargo-vendor/crossbeam-utils-0.8.20/build-common.rs
wasmtime-26.0.0 ./ext/cargo-vendor/crossbeam-utils-0.8.20/build-common.rs
wasmtime-25.0.2 ./ext/cargo-vendor/crossbeam-utils-0.8.20/build-common.rs
wasmtime-25.0.1 ./ext/cargo-vendor/crossbeam-utils-0.8.20/build-common.rs
wasmtime-25.0.0 ./ext/cargo-vendor/crossbeam-utils-0.8.20/build-common.rs
wasmtime-24.0.0 ./ext/cargo-vendor/crossbeam-utils-0.8.20/build-common.rs
wasmtime-23.0.2 ./ext/cargo-vendor/crossbeam-utils-0.8.18/build-common.rs
wasmtime-22.0.0 ./ext/cargo-vendor/crossbeam-utils-0.8.18/build-common.rs
wasmtime-21.0.1 ./ext/cargo-vendor/crossbeam-utils-0.8.18/build-common.rs
wasmtime-20.0.2 ./ext/cargo-vendor/crossbeam-utils-0.8.18/build-common.rs
wasmtime-20.0.0 ./ext/cargo-vendor/crossbeam-utils-0.8.18/build-common.rs
wasmtime-18.0.3 ./ext/cargo-vendor/crossbeam-utils-0.8.18/build-common.rs
wasmtime-17.0.1 ./ext/cargo-vendor/crossbeam-utils-0.8.18/build-common.rs
wasmtime-17.0.0 ./ext/cargo-vendor/crossbeam-utils-0.8.18/build-common.rs
wasmtime-16.0.0 ./ext/cargo-vendor/crossbeam-utils-0.8.18/build-common.rs
wasmtime-15.0.1 ./ext/cargo-vendor/crossbeam-utils-0.8.18/build-common.rs
wasmtime-15.0.0 ./ext/cargo-vendor/crossbeam-utils-0.8.18/build-common.rs
wasmtime-14.0.4 ./ext/cargo-vendor/crossbeam-epoch-0.9.15/build-common.rs
wasmtime-14.0.4 ./ext/cargo-vendor/crossbeam-utils-0.8.16/build-common.rs