Skip to content

Commit

Permalink
re-generate
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelsavara committed Aug 21, 2024
1 parent 5011551 commit 5e260b5
Show file tree
Hide file tree
Showing 21 changed files with 69 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable
using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Prerequisites:
# powershell
# tar
# [cargo](https://rustup.rs/)
$ProgressPreference = 'SilentlyContinue'
$ErrorActionPreference='Stop'
$scriptpath = $MyInvocation.MyCommand.Path
$dir = Split-Path $scriptpath

Push-Location $dir


cargo install --locked --no-default-features --features csharp --version 0.30.0 wit-bindgen-cli
Invoke-WebRequest -Uri https://github.com/WebAssembly/wasi-http/archive/refs/tags/v0.2.1.tar.gz -OutFile v0.2.1.tar.gz
tar xzf v0.2.1.tar.gz
cp world.wit wasi-http-0.2.1/wit/world.wit
wit-bindgen c-sharp -w wasi-http -r native-aot --internal --skip-support-files wasi-http-0.2.1/wit
rm -r wasi-http-0.2.1
rm v0.2.1.tar.gz

Pop-Location
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@ set -ex
# [cargo](https://rustup.rs/)
# [curl](https://curl.se/download.html)

cargo install --locked --no-default-features --features csharp --version 0.29.0 wit-bindgen-cli
cargo install --locked --no-default-features --features csharp --version 0.30.0 wit-bindgen-cli
curl -OL https://github.com/WebAssembly/wasi-http/archive/refs/tags/v0.2.1.tar.gz
tar xzf v0.2.1.tar.gz
cat >wasi-http-0.2.1/wit/world.wit <<EOF
world wasi-http {
import outgoing-handler;
}
EOF
wit-bindgen c-sharp -w wasi-http -r native-aot --internal wasi-http-0.2.1/wit
rm -r wasi-http-0.2.1 v0.2.1.tar.gz WasiHttpWorld_wasm_import_linkage_attribute.cs WasiHttpWorld_cabi_realloc.c WasiHttpWorld_component_type.o
cp world.wit wasi-http-0.2.1/wit/world.wit
wit-bindgen c-sharp -w wasi-http -r native-aot --internal --skip-support-files wasi-http-0.2.1/wit
rm -r wasi-http-0.2.1 v0.2.1.tar.gz WasiHttpWorld_wasm_import_linkage_attribute.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
world wasi-http {
import outgoing-handler;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable
using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by `wit-bindgen` 0.29.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.30.0. DO NOT EDIT!
// <auto-generated />
#nullable enable

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Prerequisites:
# powershell
# tar
# [cargo](https://rustup.rs/)
$ProgressPreference = 'SilentlyContinue'
$ErrorActionPreference='Stop'
$scriptpath = $MyInvocation.MyCommand.Path
$dir = Split-Path $scriptpath

Push-Location $dir


cargo install --locked --no-default-features --features csharp --version 0.30.0 wit-bindgen-cli
Invoke-WebRequest -Uri https://github.com/WebAssembly/wasi-http/archive/refs/tags/v0.2.1.tar.gz -OutFile v0.2.1.tar.gz
tar xzf v0.2.1.tar.gz
cp world.wit wasi-http-0.2.1/wit/world.wit
wit-bindgen c-sharp -w wasi-poll -r native-aot --internal --skip-support-files wasi-http-0.2.1/wit
rm -r wasi-http-0.2.1
rm v0.2.1.tar.gz

Pop-Location
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -ex
# [cargo](https://rustup.rs/)
# [curl](https://curl.se/download.html)

cargo install --locked --no-default-features --features csharp --version 0.29.0 wit-bindgen-cli
cargo install --locked --no-default-features --features csharp --version 0.30.0 wit-bindgen-cli
curl -OL https://github.com/WebAssembly/wasi-http/archive/refs/tags/v0.2.1.tar.gz
tar xzf v0.2.1.tar.gz
cat >wasi-http-0.2.1/wit/world.wit <<EOF
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
world wasi-poll {
import wasi:io/poll@0.2.1;
import wasi:clocks/monotonic-clock@0.2.1;
}

0 comments on commit 5e260b5

Please sign in to comment.