feat: netbsd x86_64 target (#251)
- x86_64-unknown-netbsd
Diff
.github/workflows/devel.yml | 11 ++++++++---
.github/workflows/release.yml | 5 +++++
docs/content/download-and-install.tmpl.md | 2 ++
docs/content/migration.md | 2 +-
docs/content/platforms-architectures.md | 5 +++++
5 files changed, 21 insertions(+), 4 deletions(-)
@@ -48,6 +48,7 @@ jobs:
- linux-android-arm64
- netbsd
- macos
- macos-arm64
- windows-msvc
@@ -112,6 +113,10 @@ jobs:
os: ubuntu-22.04
rust: stable
target: aarch64-linux-android
- build: netbsd
os: ubuntu-22.04
rust: stable
target: x86_64-unknown-netbsd
- build: macos
os: macos-12
rust: stable
@@ -177,7 +182,7 @@ jobs:
- name: Skip tests
shell: bash
if: ${{ contains(fromJSON('["macos-arm64", "linux-android-arm64", "linux-android-armv7"]'), matrix.build) }}
if: ${{ contains(fromJSON('["macos-arm64", "linux-android-arm64", "linux-android-armv7", "netbsd"]'), matrix.build) }}
run: |
echo "SKIP_TESTS=--no-run" >> $GITHUB_ENV
@@ -196,8 +201,8 @@ jobs:
shell: bash
run: |
case "${{ matrix.build }}" in
*-arm*)
echo "arm(64) is not supported on ci, can not execute!"
*-arm*|*bsd*)
echo "arm(64) or BSD are unable to execute on CI!"
;;
*)
if [[ "${{ matrix.os }}" == "windows-2022" ]]; then
@@ -60,6 +60,7 @@ jobs:
- linux-musl-armv7
- linux-android-arm64
- netbsd
- macos
- macos-arm64
- windows-msvc
@@ -111,6 +112,10 @@ jobs:
os: ubuntu-22.04
rust: stable
target: aarch64-linux-android
- build: netbsd
os: ubuntu-22.04
rust: stable
target: x86_64-unknown-netbsd
- build: macos
os: macos-12
rust: stable
@@ -88,6 +88,8 @@ Pre-compiled binaries grouped by CPU architectures.
<small>**SHA256SUM:** `{{x86_64-unknown-linux-gnu.tar.gz}}`</small>
- [static-web-server-{{RELEASE_VERSION}}-x86_64-unknown-linux-musl.tar.gz](https://github.com/static-web-server/static-web-server/releases/download/{{RELEASE_VERSION}}/static-web-server-{{RELEASE_VERSION}}-x86_64-unknown-linux-musl.tar.gz)<br>
<small>**SHA256SUM:** `{{x86_64-unknown-linux-musl.tar.gz}}`</small>
- [static-web-server-{{RELEASE_VERSION}}-x86_64-unknown-netbsd.tar.gz](https://github.com/static-web-server/static-web-server/releases/download/{{RELEASE_VERSION}}/static-web-server-{{RELEASE_VERSION}}-x86_64-unknown-netbsd.tar.gz)<br>
<small>**SHA256SUM:** `{{x86_64-unknown-netbsd.tar.gz}}`</small>
### ARM64
@@ -1,6 +1,6 @@
# Migrating from v1 to v2
The `v2` introduces notable changes including new features, performance improvements and new target support like ARM64 and OSes like FreeBSD.
The `v2` introduces notable changes including new features, performance improvements and new target support like ARM64 and OSes like FreeBSD, NetBSD or Android.
This version `v2` was re-written almost from scratch on top of [Hyper](https://github.com/hyperium/hyper) and [Tokio](https://github.com/tokio-rs/tokio) runtime which gives us the [Rust asynchronous ability](https://rust-lang.github.io/async-book/01_getting_started/02_why_async.html) by default and the latest HTTP/1 - HTTP/2 implementation improvements.
However, it still tries to keep the same principles of its `v1`: lightness and easy-to-use. Therefore migration should not be a big deal.
@@ -52,3 +52,8 @@ Currently, only the following platforms/architectures are supported.
#### x86_64
- `x86_64-unknown-freebsd`
## NetBSD
#### x86_64
- `x86_64-unknown-netbsd`