general:rust
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
general:rust [2024/10/18 08:14] – sunkan | general:rust [2024/10/30 15:09] (current) – [User cargo config] sunkan | ||
---|---|---|---|
Line 155: | Line 155: | ||
# Remove previously installed rustlibs | # Remove previously installed rustlibs | ||
- | find / | + | find / |
tar xaf $RUST_FILE | tar xaf $RUST_FILE | ||
Line 181: | Line 181: | ||
read -p "Keep the downloaded archives? (y/N) " keep_archives | read -p "Keep the downloaded archives? (y/N) " keep_archives | ||
- | if [ ${keep_archives}X = " | + | if [ ${keep_archives}X = " |
mv $tmpdir/ | mv $tmpdir/ | ||
mv $tmpdir/ | mv $tmpdir/ | ||
Line 285: | Line 285: | ||
</ | </ | ||
+ | ====== User cargo config ====== | ||
+ | ~/ | ||
+ | < | ||
+ | [registries.crates-io] | ||
+ | protocol = " | ||
+ | |||
+ | [target.x86_64-unknown-linux-gnu] | ||
+ | # linker = " | ||
+ | # rustflags = [" | ||
+ | rustflags = [" | ||
+ | |||
+ | [profile.profiling] | ||
+ | inherits = " | ||
+ | debug = true | ||
+ | </ | ||
+ | |||
+ | To build release with debug info: '' |
general/rust.1729239255.txt.gz · Last modified: 2024/10/18 08:14 by sunkan