4 releases

0.1.3 Jun 6, 2022
0.1.2 Jun 4, 2022
0.1.1 May 2, 2022
0.1.0 May 2, 2022

#13 in #playstation

MIT license

9KB
192 lines

cargo-psx 

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

~2.4–3.5MB
~63K SLoC