Skip to content

Commit

Permalink
update rust; disable missing cross targets; fix netbsd
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Pennebaker committed Jan 4, 2024
1 parent 894fe18 commit cf0846c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rust 1.68.2
rust 1.75.0
10 changes: 10 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -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.)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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+

Expand Down
10 changes: 10 additions & 0 deletions example/Cross.toml
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ lazy_static::lazy_static! {
"fuchsia",
"gnux32",
"ios",
"loongarch",
"msvc",
"none-eabi",
"pc-solaris",
Expand Down

0 comments on commit cf0846c

Please sign in to comment.