5 releases
0.1.4 | Dec 22, 2024 |
---|---|
0.1.3 | Jun 6, 2022 |
0.1.2 | Jun 4, 2022 |
0.1.1 | May 2, 2022 |
0.1.0 | May 2, 2022 |
#358 in Cargo plugins
9KB
163 lines
cargo-psx
A cargo build
wrapper for creating PlayStation 1 executables.
USAGE:
cargo-psx [build|check|run|test] [OPTIONS]
OPTIONS:
--cargo-args <CARGO_ARGS>
--clean
run `cargo clean` before the build subcommand
--debug
Ouputs an ELF with debug info
--elf
Outputs an ELF
--features <FEATURES>
Enables the listed features
-h, --help
Print help information
--link <LINK>
Specifies a custom linker script to use
--load-offset <LOAD_OFFSET>
Adds a load offset to the executable
--lto
Enables link-time optimization and sets codegen units to 1
--small
Sets opt-level=s to optimize for size
--stack-pointer <STACK_POINTER>
Sets the initial stack pointer
--toolchain <TOOLCHAIN>
Sets the rustup toolchain (defaults to `nightly`)
Dependencies
~4.5MB
~86K SLoC