Skip to content

Commit 111e98b

Browse files
LeSuisseGashmob
authored andcommitted
chore: request #42960 Update dev/build environment [W18 2025]
No functional changes expected, everything should continue to build.
1 parent 07eeee4 commit 111e98b

11 files changed

Lines changed: 21 additions & 21 deletions

File tree

artifact-post-action/compute-risk-and-residual/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ tests:
1010

1111
.PHONY: build
1212
build:
13-
cargo build --target wasm32-wasi --release
13+
cargo build --target wasm32-wasip1 --release

artifact-post-action/compute-risk-and-residual/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ API `PUT /api/artifacts/:id`. For example:
3333
Then build the function:
3434

3535
```shell
36-
cargo build --target wasm32-wasi --release
36+
cargo build --target wasm32-wasip1 --release
3737
```

artifact-post-action/compute-risk-and-residual/shell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
pkgs.mkShellNoCC {
44
buildInputs = [
55
(pkgs.rust-bin.stable.latest.default.override {
6-
targets = [ "wasm32-wasi" ];
6+
targets = [ "wasm32-wasip1" ];
77
extensions = [ "cargo" "rustc" "rust-src" ];
88
})
99
pkgs.gnumake

artifact-post-action/compute-risk/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ tests:
1010

1111
.PHONY: build
1212
build:
13-
cargo build --target wasm32-wasi --release
13+
cargo build --target wasm32-wasip1 --release

artifact-post-action/compute-risk/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ use the module as is, in any Tracker with following constraints:
4444
Then build the function:
4545

4646
```shell
47-
cargo build --target wasm32-wasi --release
47+
cargo build --target wasm32-wasip1 --release
4848
```
4949

50-
Then upload the binary result file (`target/wasm32-wasi/release/post-action-compute-risk.wasm`) to your Tracker
50+
Then upload the binary result file (`target/wasm32-wasip1/release/post-action-compute-risk.wasm`) to your Tracker
5151
administration (Administration > Workflow > Tuleap Functions).
5252

5353
And finally, update an artifact, shortly after the creation, it will be automatically updated with computed risk.

artifact-post-action/compute-risk/shell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
pkgs.mkShellNoCC {
44
buildInputs = [
55
(pkgs.rust-bin.stable.latest.default.override {
6-
targets = [ "wasm32-wasi" ];
6+
targets = [ "wasm32-wasip1" ];
77
extensions = [ "cargo" "rustc" "rust-src" ];
88
})
99
pkgs.gnumake

artifact-post-action/post-action-add-comment/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ tests:
1010

1111
.PHONY: build
1212
build:
13-
cargo build --target wasm32-wasi --release
13+
cargo build --target wasm32-wasip1 --release

artifact-post-action/post-action-add-comment/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,12 +348,12 @@ API `PUT /api/artifacts/:id`. For example:
348348
If you want to use it for your Tracker, you first need to build it:
349349

350350
```shell
351-
cargo build --target wasm32-wasi --release
351+
cargo build --target wasm32-wasip1 --release
352352
```
353353

354354
### On Tuleap side
355355

356-
Then upload the binary result file (`target/wasm32-wasi/release/post-action-add-comment.wasm`) to your Tracker
356+
Then upload the binary result file (`target/wasm32-wasip1/release/post-action-add-comment.wasm`) to your Tracker
357357
administration (Administration > Workflow > Tuleap Functions).
358358

359359
In order to make functionnal the Function in your Tracker, you **must** have the following fields:

artifact-post-action/post-action-add-comment/shell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
pkgs.mkShellNoCC {
44
buildInputs = [
55
(pkgs.rust-bin.stable.latest.default.override {
6-
targets = [ "wasm32-wasi" ];
6+
targets = [ "wasm32-wasip1" ];
77
extensions = [ "cargo" "rustc" "rust-src" ];
88
})
99
pkgs.gnumake

artifact-post-action/tools/nixpkgs-pin.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"url": "https://github.com/NixOS/nixpkgs.git",
3-
"rev": "5083ec887760adfe12af64830a66807423a859a7",
4-
"date": "2024-11-18T11:41:09+11:00",
5-
"path": "/nix/store/r2mkdrqip3xx66fv3jdz1w9h020b315z-nixpkgs",
6-
"sha256": "0sr45csfh2ff8w7jpnkkgl22aa89sza4jlhs6wq0368dpmklsl8g",
7-
"hash": "sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs=",
3+
"rev": "29335f23bea5e34228349ea739f31ee79e267b88",
4+
"date": "2025-04-28T10:45:31+09:00",
5+
"path": "/nix/store/a7ik40p47wz5dkl9bfkkng6mh2ibykji-nixpkgs",
6+
"sha256": "1j7bn6dicx3xy7pq6dfvz850f8bnvn3iqv7f9szsnh5l0kf0myxz",
7+
"hash": "sha256-v/sK3AS0QKu/Tu5sHIfddiEHCvrbNYPv8X10Fpux68g=",
88
"fetchLFS": false,
99
"fetchSubmodules": false,
1010
"deepClone": false,

0 commit comments

Comments
 (0)