pantry/projects/fuellabs.github.io/sway/package.yml
Jacob Heider bc6433bf3e fix(curve-dalek.rust)
with the release of rust 1.78 we can undo these... tweaks.

fix deno specifically

Revert "fix deno specifically"

This reverts commit 4dbe7bd82386dc429a6d448b2004c3df4f0c9807.

revert deno
2024-05-02 15:20:04 -04:00

41 lines
710 B
YAML

distributable:
url: https://github.com/FuelLabs/sway/archive/refs/tags/{{version.tag}}.tar.gz
strip-components: 1
versions:
github: FuelLabs/sway
provides:
- bin/forc
dependencies:
zlib.net: ^1
openssl.org: ^1.1
build:
dependencies:
rust-lang.org: ^1.78 # stdsimd changes
rust-lang.org/cargo: ^0
# needed to build openssl module
perl.org: '*'
gnu.org/make: '*'
script: cargo install --locked --path forc --root {{prefix}}
test:
script:
- forc new pkgx_test
- cd pkgx_test
- cat $FIXTURE >src/main.sw
- forc test
fixture: |
script;
#[test]
fn test_meaning_of_life() {
assert(6 * 7 == 42);
}
fn main() {
()
}