Skip to content

Commit

Permalink
Updates produce artifacts to produce wasm as well
Browse files Browse the repository at this point in the history
  • Loading branch information
scottopell committed Dec 12, 2022
1 parent 5df5c79 commit 5d7124b
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 197,103 deletions.
13 changes: 4 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
debug/
target/

Cargo.lock
go-vrl
example-govrl

v5/target
v10/target

deps/**/build
deps/**/.rustc_info.json
deps/**/.cargo-lock
deps/**/.fingerprint
deps/**/deps
deps/**/*.d
deps/**/CACHEDIR.TAG
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,9 @@ search](https://github.com/vectordotdev/vector/issues?q=is%3Aopen+is%3Aissue+lab

### Building and importing

Not quite ready yet. It's difficult to distribute a go module that depends on an external build system, we have some ideas though.

To use this repo as-is, its required to manually compile the rust dependency.
For V5: `cd v5; cargo build --release; cd example/; go run .`
For V10: `cd v10; cargo build --target wasm32-wasi --release; cd example/; go run .`
There are pre-built libraries (both static libs for v5 and wasm for v10)
available in-tree.
They can be updated using `./produce_artifacts.sh`

### Examples

Expand Down
Loading

0 comments on commit 5d7124b

Please sign in to comment.