mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 10:18:51 +00:00
This took me 5 entire minutes at least to figure out: `c_char` is... - i8 on aarch64 Darwin: https://docs.rs/libc/latest/aarch64-apple-darwin/libc/type.c_char.html - i8 on aarch64 Windows: https://docs.rs/libc/latest/aarch64-pc-windows-msvc/libc/type.c_char.html - i8 on x86_64 Linux: https://docs.rs/libc/latest/libc/type.c_char.html - i8 on x86_64 Windows: https://docs.rs/libc/latest/x86_64-pc-windows-msvc/libc/type.c_char.html - **u8** on aarch64 Linux. Both GNU and musl: https://docs.rs/libc/latest/aarch64-unknown-linux-gnu/libc/type.c_char.html It is also u8 on Android aarch64, but we don't run CI on that so I guess Clippy never hit it there.
Rust development guide
Firezone uses Rust for all data plane components. This directory contains the Linux and Windows clients, and low-level networking implementations related to STUN/TURN.
We target the last stable release of Rust using rust-toolchain.toml.
If you are using rustup, that is automatically handled for you.
Otherwise, ensure you have the latest stable version of Rust installed.