pantry/projects/crates.io/rtx-cli/package.yml
Jacob Heider fb206e41de fix(rtx)
2023-05-07 17:58:41 -04:00

25 lines
486 B
YAML

distributable:
url: https://github.com/jdxcode/rtx/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
provides:
- bin/rtx
versions:
github: jdxcode/rtx
strip: /v/
build:
dependencies:
rust-lang.org: '>=1.60<1.69'
rust-lang.org/cargo: '*'
script:
cargo install --locked --path . --root {{prefix}}
env:
linux/x86-64:
# portable-atomic-1.3.1 uses this, but it's unstable
RUSTFLAGS: -C target-feature=+cmpxchg16b
test:
rtx --version