Skip to content

Home (WIP)

CGMossa edited this page Jun 10, 2024 · 1 revision

Developer tricks

In .cargo/config.toml:

[env]
LIBRSYS_BINDINGS_OUTPUT_PATH="src/bindings"
# export LIBCLANG_PATH=$(brew --prefix llvm)/lib
# export LLVM_CONFIG_PATH=$(brew --prefix llvm)/bin/llvm-config

[build]
rustflags = ["-Zmacro-backtrace"]

In rust-toolchain.toml:

[toolchain]
channel = "nightly"

To make cargo watch work

Use .ignore file

src/bindings/*
Clone this wiki locally