/
Building Rust based package
Building Rust based package
An example of Rust based package is GitHub - huggingface/tokenizers: 💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
To be able to compile rust code:
download installer from: https://win.rustup.rs/x86_64
install toolchain:
rustup-init.exe --default-toolchain stable --default-host aarch64-pc-windows-msvc
Installer should add cargo to your PATH automatically (--no-modify-path
if you don’t want).
Customize rust toolchain location:
You can configure where it is installed by setting env vars: CARGO_HOME and RUSTUP_HOME
$rust_dir=/path/where/you/want
$env:CARGO_HOME="$rust_dir\cargo"
$env:RUSTUP_HOME="$rust_dir\rustup"
$env:PATH+=";$rust_dir;$rust_dir\cargo\bin"
rustup-init.exe ...
, multiple selections available,
Related content
Rust VMM Project
Rust VMM Project
More like this
Build Packages from Source
Build Packages from Source
More like this
CMake
CMake
More like this
Toolchain for Python ecosystem
Toolchain for Python ecosystem
More like this
Ruby
More like this
2021-02-04 Project Stratos Sync Meeting notes
2021-02-04 Project Stratos Sync Meeting notes
More like this