Skip to content

Commit

Permalink
ci: try to satisfy cargo test
Browse files Browse the repository at this point in the history
  • Loading branch information
G4Vi committed Feb 24, 2024
1 parent 6890140 commit 9b85a59
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ target
.env
build.js
node_modules
dist
corpus/01-component-instr-component/wit/deps
dist
27 changes: 27 additions & 0 deletions corpus/01-component-instr-component/wit/deps/observe/observe.wit
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package dylibso:observe;

interface api {
enum log-level {
error,
warn,
info,
debug,
trace
}

enum metric-format {
statsd,
}

metric: func(format: metric-format, name: list<u8>);
log: func(level: log-level, msg: list<u8>);
span-enter: func(name: string);
span-tags: func(tags: string);
span-exit: func();
}

interface instrument {
memory-grow: func(amount-in-pages: u32);
enter: func(func-id: u32);
exit: func(func-id: u32);
}

0 comments on commit 9b85a59

Please sign in to comment.