Skip to content

Commit

Permalink
[release/8.0] Fix wasi build. (dotnet#92232)
Browse files Browse the repository at this point in the history
* Fix wasi build.

* dummy change in wasi README to trigger a build

* dummy change in wasi to trigger a build

---------

Co-authored-by: Zoltan Varga <[email protected]>
Co-authored-by: Ankit Jain <[email protected]>
  • Loading branch information
3 people committed Sep 18, 2023
1 parent bf1e333 commit 644856c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions eng/pipelines/common/templates/pipeline-with-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ resources:
image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8

- container: browser_wasm
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-webassembly
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-webassembly-20230913040940-1edc1c6
env:
ROOTFS_DIR: /crossrootfs/x64

- container: wasi_wasm
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-webassembly
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-webassembly-20230913040940-1edc1c6
env:
ROOTFS_DIR: /crossrootfs/x64

Expand Down
3 changes: 2 additions & 1 deletion src/mono/wasi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ or for just native rebuild
./build.sh -bl -os wasi -subset mono.runtime+libs.native+mono.wasiruntime -c Debug
```


### 3. Run it

Finally, you can build and run the sample:
Expand Down Expand Up @@ -49,4 +50,4 @@ Download the Mono Debug extension and configure a launch.json like this:
}
]
}
```
```
2 changes: 0 additions & 2 deletions src/mono/wasi/build/WasiApp.targets
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

<!--
Required public items/properties:
- $(WasmMainJSPath)
- $(EMSDK_PATH) - points to the emscripten sdk location.
Public properties (optional):
Expand Down

0 comments on commit 644856c

Please sign in to comment.