Skip to content

chore: remove component model support #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,6 @@ jobs:
with:
version: "23.4"

- name: Install Component CLI Deps
uses: actions-rs/cargo@v1
with:
command: install
args: wasm-tools@^1.0.57 cargo-component@0.7.0

- name: Install Just
uses: extractions/setup-just@v1

# building wit is necessary for cargo test
- name: Build wit
run: just build_wit

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -125,11 +112,3 @@ jobs:
command: run
args: --example=reactor-hello test/reactor-hello.c.instr.wasm

- name: Component Demo
run: just component_demo

- name: Component Demo 2
run: just component_demo_2

- name: Component Demo 3
run: just component_demo_3
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ target
build.js
node_modules
dist
corpus/01-component-instr-component/wit/deps/observe/observe.wit
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[workspace]
members = [ "rust" ]
exclude = [ "observe-api/rust", "observe-api/test/rust", "corpus/" ]
exclude = [ "observe-api/rust", "observe-api/test/rust" ]
resolver = "2"
30 changes: 0 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,33 +138,3 @@ One of the test adapters will output to Zipkin, defaulting to one running on
localhost.

docker run -d -p 9411:9411 openzipkin/zipkin

## Component Support

WIT is available in `wit` for the (manual) observe api and (automatic) observe instrument api.

### Examples

First install dependencies:

```bash
cargo install wasm-tools cargo-component
```

Build the wit:

```bash
just build_wit
```

Build and run `component_demo`:

```bash
just component_demo
```

Build and run `component_demo_2`:

```bash
just component_demo_2
```
85 changes: 0 additions & 85 deletions corpus/00-component-instr-command/Cargo.lock

This file was deleted.

17 changes: 0 additions & 17 deletions corpus/00-component-instr-command/Cargo.toml

This file was deleted.

210 changes: 0 additions & 210 deletions corpus/00-component-instr-command/src/bindings.rs

This file was deleted.

Loading
Loading