Skip to content

Commit

Permalink
Try to add freebsd target
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Sep 21, 2024
1 parent d78b61f commit 3adef4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-pkg.nu
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if $os in ['macos-latest'] or $USE_UBUNTU {
}
'x86_64-unknown-freebsd' => {
sudo apt-get install gcc make -y
aria2c http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/12.2-RELEASE/base.txz
aria2c http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/12.2-RELEASE/base.txz
mkdir /usr/local/freebsd
tar -xvf base.txz -C /usr/local/freebsd --strip-components 1
$env.CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER = 'x86_64-unknown-freebsd12-gcc'
Expand Down

0 comments on commit 3adef4e

Please sign in to comment.