generated from oovm/RustTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
109 additions
and
2,696 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,6 @@ target/ | |
Cargo.lock | ||
|
||
# Node | ||
node_modules/ | ||
node_modules/ | ||
legion-wasm32-wasi.wasm | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="build wasi target" type="CargoCommandRunConfiguration" factoryName="Cargo Command"> | ||
<option name="command" value="component build --release --target wasm32-wasip2" /> | ||
<option name="workingDirectory" value="file://$PROJECT_DIR$" /> | ||
<envs /> | ||
<option name="emulateTerminal" value="true" /> | ||
<option name="channel" value="DEFAULT" /> | ||
<option name="requiredFeatures" value="true" /> | ||
<option name="allFeatures" value="false" /> | ||
<option name="withSudo" value="false" /> | ||
<option name="buildTarget" value="REMOTE" /> | ||
<option name="backtrace" value="SHORT" /> | ||
<option name="isRedirectInput" value="false" /> | ||
<option name="redirectInputPath" value="" /> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="copy to npm" type="CargoCommandRunConfiguration" factoryName="Cargo Command"> | ||
<option name="buildProfileId" value="test" /> | ||
<option name="command" value="test --package legion --lib cli_cmds::cmd_decode::tests::decode2 -- --exact" /> | ||
<option name="workingDirectory" value="file://$PROJECT_DIR$" /> | ||
<envs /> | ||
<option name="emulateTerminal" value="true" /> | ||
<option name="channel" value="DEFAULT" /> | ||
<option name="requiredFeatures" value="true" /> | ||
<option name="allFeatures" value="false" /> | ||
<option name="withSudo" value="false" /> | ||
<option name="buildTarget" value="REMOTE" /> | ||
<option name="backtrace" value="SHORT" /> | ||
<option name="isRedirectInput" value="false" /> | ||
<option name="redirectInputPath" value="" /> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
cargo component build --release --target wasm32-wasip2 | ||
cp target/wasm32-wasip2/release/legion_wit.wasm projects/legion-wasm32-wasi/legion-wasm32-wasi.wasm | ||
jco transpile projects/legion-wasm32-wasi/legion-wasm32-wasi.wasm -o projects/legion-wasm32-wasi/src --name index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
{ | ||
"private": true, | ||
"workspaces": [ | ||
"projects/*" | ||
], | ||
"scripts": { | ||
"build": "cargo build --release", | ||
"test": "cargo test --release", | ||
"fmt": "cargo fmt --all", | ||
"p": "git push && git push --tags --prune", | ||
"reset": "git reset Head~ --soft", | ||
"u": "cargo upgrade --workspace" | ||
}, | ||
"devDependencies": { | ||
"@bytecodealliance/jco": "^1.8.1", | ||
"@types/node": "^22", | ||
"typescript": "^5.7.2" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
Binary file not shown.
82 changes: 0 additions & 82 deletions
82
projects/legion-app/src/cli_cmds/cmd_decode/decode_component.wat
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-121 Bytes
projects/legion-app/src/cli_cmds/cmd_decode/decode_component/index.core.wasm
Binary file not shown.
Binary file removed
BIN
-246 Bytes
projects/legion-app/src/cli_cmds/cmd_decode/decode_component/index.core2.wasm
Binary file not shown.
41 changes: 0 additions & 41 deletions
41
projects/legion-app/src/cli_cmds/cmd_decode/decode_component/index.d.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.