Adding panic_msp430 library as a dependency
Run this command in a terminal, in your project's directory:
cargo add panic-msp430
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
panic-msp430 = "0.4.0"
The panic_msp430 library will be automatically available globally.
Read the panic_msp430 library documentation.