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/09/21 19:10] – [Script to update after verifying GPG signatures] sunkan | general:rust [2025/05/09 09:54] (current) – sunkan | ||
|---|---|---|---|
| Line 155: | Line 155: | ||
| # Remove previously installed rustlibs | # Remove previously installed rustlibs | ||
| - | find / | + | find / |
| tar xaf $RUST_FILE | tar xaf $RUST_FILE | ||
| Line 179: | Line 179: | ||
| done | done | ||
| - | read -p "Keep the downloaded archives? (y/n) " keep_archives | + | read -p "Keep the downloaded archives? (y/N) " keep_archives |
| - | if [ $keep_archives = "y" -o $keep_archives = "Y" ]; then | + | if [ ${keep_archives}X = "yX" -o ${keep_archives}X = "YX" ]; then |
| mv $tmpdir/ | mv $tmpdir/ | ||
| mv $tmpdir/ | mv $tmpdir/ | ||
| Line 285: | Line 285: | ||
| </ | </ | ||
| + | ====== User cargo config ====== | ||
| + | ~/ | ||
| + | < | ||
| + | [target.' | ||
| + | rustflags = [" | ||
| + | |||
| + | [profile.profiling] | ||
| + | inherits = " | ||
| + | debug = true | ||
| + | </ | ||
| + | |||
| + | To build release with debug info: '' | ||
| + | |||
| + | ===== Remap source names in output ===== | ||
| + | ~/ | ||
| + | < | ||
| + | [build] | ||
| + | rustflags = [" | ||
| + | </ | ||
general/rust.1726945819.txt.gz · Last modified: 2024/09/21 19:10 by sunkan