Skip to content

Commit

Permalink
set linker on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hacknus committed Dec 10, 2024
1 parent 1090c84 commit 365e994
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions recipes/serial-monitor-rust/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,11 @@ build:
then:
- curl -o rustup-init.sh https://sh.rustup.rs
- sh rustup-init.sh -y
- rustc --version
- set PATH=%USERPROFILE%\.cargo\bin;%PATH%
- rustup show
- rustup update
- rustc --version
- cargo --version
- rustup show
- link --help
- set PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\<version>\bin\Hostx64\x64;%PATH%
- set LIB=C:\Program Files (x86)\Windows Kits\10\Lib\10.0.14393.0\um\x64\;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\<version>\lib\x64\;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.14393.0\ucrt\x64\;%LIB%
- set CARGO_BUILD_TARGET=x86_64-pc-windows-msvc
- cargo-bundle-licenses --format yaml --output ${SRC_DIR}/THIRDPARTY.yml
- cargo install --locked --bins --root ${PREFIX} --path . --verbose

Expand Down

0 comments on commit 365e994

Please sign in to comment.