diff --git a/.tool-versions b/.tool-versions index ca7950a..b419699 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -rust 1.68.2 +rust 1.75.0 diff --git a/Cross.toml b/Cross.toml index aa25b06..adf04ae 100644 --- a/Cross.toml +++ b/Cross.toml @@ -1,3 +1,13 @@ +[target.x86_64-unknown-netbsd] +pre-build = [ + "mkdir -p /tmp/netbsd", + "curl https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz -O", + "tar -C /tmp/netbsd -xJf base.tar.xz", + "cp /tmp/netbsd/usr/lib/libexecinfo.so /usr/local/x86_64-unknown-netbsd/lib", + "rm base.tar.xz", + "rm -rf /tmp/netbsd", +] + [target.aarch64-apple-darwin] image = "freeznet/aarch64-apple-darwin-cross:11.3.1" diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 67ed30f..2ee925f 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -1,7 +1,7 @@ # BUILDTIME REQUIREMENTS * [rustup](https://rustup.rs/) 1.25.2+ -* [Rust](https://www.rust-lang.org/en-US/) 1.68.2+ +* [Rust](https://www.rust-lang.org/en-US/) 1.75.0+ * [Docker](https://www.docker.com/) 20.10.12+ * [zip](https://en.wikipedia.org/wiki/ZIP_(file_format)) * a POSIX compliant [make](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html) implementation (e.g. GNU make, BSD make, etc.) diff --git a/README.md b/README.md index c792cd6..0fd8df7 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ BSD-2-Clause # RUNTIME REQUIREMENTS * [rustup](https://rustup.rs/) 1.25.2+ -* [Rust](https://www.rust-lang.org/en-US/) 1.68.2+ +* [Rust](https://www.rust-lang.org/en-US/) 1.75.0+ * [cross](https://crates.io/crates/cross) 0.2.5+ * [Docker](https://www.docker.com/) 20.10.23+ diff --git a/example/Cross.toml b/example/Cross.toml index aa25b06..adf04ae 100644 --- a/example/Cross.toml +++ b/example/Cross.toml @@ -1,3 +1,13 @@ +[target.x86_64-unknown-netbsd] +pre-build = [ + "mkdir -p /tmp/netbsd", + "curl https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz -O", + "tar -C /tmp/netbsd -xJf base.tar.xz", + "cp /tmp/netbsd/usr/lib/libexecinfo.so /usr/local/x86_64-unknown-netbsd/lib", + "rm base.tar.xz", + "rm -rf /tmp/netbsd", +] + [target.aarch64-apple-darwin] image = "freeznet/aarch64-apple-darwin-cross:11.3.1" diff --git a/src/lib.rs b/src/lib.rs index a63af9e..02edbec 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -31,6 +31,7 @@ lazy_static::lazy_static! { "fuchsia", "gnux32", "ios", + "loongarch", "msvc", "none-eabi", "pc-solaris",