Files
firezone/rust
Reactor Scram 2df2ef13ba build(connlib): suppress clippy::unnecessary_cast lint on aarch64 Linux (#3824)
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.
2024-03-01 17:38:01 +00:00
..
2023-05-10 07:58:32 -07:00

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.