From 588253971f48e3d8cd8c474621659d10ee7473ca Mon Sep 17 00:00:00 2001 From: Yichi Chen Date: Sat, 5 Jul 2025 21:07:02 +0800 Subject: [PATCH 01/10] Fixbug/just expr (#273) * fix: missing the image_content directory * feat: add SUDO_PASSWD environment check on cold_start_latency * fix: increase interval time for slower machines --- README.md | 2 +- justfile | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 661bfc8f..ff32013f 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Additionally, the repository of AlloyStack is integrated with GitHub Actions. Th ## Evaluation ### Cold start latency -The cold start of AlloyStack can be categorized into two scenarios: enabling and disabling on-demand loading. The approximate cold start latency is measured using the execution time of `hello_world` and `load_all`, respectively. The following script can be used to automate the testing process. +The cold start of AlloyStack can be categorized into two scenarios: enabling and disabling on-demand loading. The approximate cold start latency is measured using the execution time of `hello_world` and `load_all`, respectively. You have to set the `SUDO_PASSWD` environment variable before running this test using the command `export SUDO_PASSWD=`, since some parts of the test require it. The following script can be used to automate the testing process. ```bash AlloyStack$ just cold_start_latency diff --git a/justfile b/justfile index 4d624397..c1af6a44 100644 --- a/justfile +++ b/justfile @@ -143,11 +143,18 @@ init: rustup override set 'nightly-2023-12-01' rustup target add x86_64-unknown-linux-musl [ -f fs_images/fatfs.img ] || unzip fs_images/fatfs.zip -d fs_images + [ -d image_content ] || mkdir image_content asvisor: cargo build {{ release_flag }} cold_start_latency: asvisor all_libos + #!/bin/bash + if [ -z "$SUDO_PASSWD" ]; then + echo "Error: SUDO_PASSWD environment variable is not set" + echo "Please set it with: export SUDO_PASSWD=" && exit 1 + fi + just rust_func hello_world just rust_func load_all @-./scripts/del_tap.sh 2>/dev/null @@ -197,7 +204,7 @@ py_end_to_end_latency: asvisor all_libos all_py_wasm -sudo mount fs_images/fatfs.img image_content 2>/dev/null sudo -E ./scripts/gen_data.py 1 '1 * 1024 * 1024' 1 '1 * 1024 * 1024' - sleep 3 + sleep 5 @echo 'Python word count cost: ' target/{{profile}}/asvisor --files isol_config/wasmtime_cpython_wordcount_c1.json --metrics total-dur 2>&1 | grep 'total_dur' From f2951f2ca86268967b7b2c5c2df383a992bbd4ae Mon Sep 17 00:00:00 2001 From: NIBRSYK16 <49359769+NIBRSYK16@users.noreply.github.com> Date: Sat, 12 Jul 2025 10:43:23 +0800 Subject: [PATCH 02/10] docs: added detailed user documents (#275) * added content of README.md and create ./doc directory with two helping documents --- README.md | 8 +- doc/content_included_in_justfile.md | 148 ++++++++++++++++++++++++++++ doc/testing_a_workflow.md | 81 +++++++++++++++ 3 files changed, 232 insertions(+), 5 deletions(-) create mode 100644 doc/content_included_in_justfile.md create mode 100644 doc/testing_a_workflow.md diff --git a/README.md b/README.md index ff32013f..43c72bb0 100644 --- a/README.md +++ b/README.md @@ -31,16 +31,14 @@ AlloyStack/ │ └── *.json # workflow specification files ├── fs_images/ │ └── *.img # file system images +├── doc/ +│ └── ... # detailed documents ``` To run a new test application on AlloyStack, user need to develop functions in the `user/` directory. Then, edit the workflow specification files in the `isol_config/` directory to declare how functions compose the workflow, specify dependencies on LibOS modules, and define input parameters for functions. If the workflow involves reading datasets from files, the datasets must also be added to the file system image. Please use the following command to extract the provided image archive, which contains the source code for the Python benchmarks. -```bash -AlloyStack$ just init -``` - -Additionally, the repository of AlloyStack is integrated with GitHub Actions. Therefore, tools such as [act](https://github.com/nektos/act) can be used locally to quickly run some basic test cases via Docker. +For detailed documentation, please refer to [AlloyStack User Guide](./doc/). ## Evaluation ### Cold start latency diff --git a/doc/content_included_in_justfile.md b/doc/content_included_in_justfile.md new file mode 100644 index 00000000..e2f788a7 --- /dev/null +++ b/doc/content_included_in_justfile.md @@ -0,0 +1,148 @@ +# Justfile Script Tools Reference + +## Utility Tools + +### Data Management +``` +# Generate test data +AlloyStack$ just gen_data + +# Initialize environment +AlloyStack$ just init +``` + +## Build Commands + +### System Services +``` +# Build all LibOS modules +AlloyStack$ just all_libos + +# Build specific LibOS module +AlloyStack$ just libos # e.g., just libos stdio +``` + +### User Functions +``` +# Build Rust user function +AlloyStack$ just rust_func # e.g., just rust_func mapper + +# Build WASM user function +AlloyStack$ just wasm_func # e.g., just wasm_func wasmtime_mapper +``` + +### Workflow-Specific Builds +``` +# Build MapReduce components +AlloyStack$ just map_reduce + +# Build Parallel Sort components +AlloyStack$ just parallel_sort + +# Build Long Chain components +AlloyStack$ just long_chain + +# Build Simple File components +AlloyStack$ just simple_file +``` + +## Test Execution Tools +### Performance Tests +``` +# Run cold start latency tests +AlloyStack$ just cold_start_latency + +# Run data transfer latency tests +AlloyStack$ just data_transfer_latency + +# Run end-to-end latency tests +AlloyStack$ just end_to_end_latency + +# Run breakdown analysis +AlloyStack$ just breakdown + +# Run P99 latency tests +AlloyStack$ just p99 + +# Measure resource consumption +AlloyStack$ just resource_consume +``` + +### WASM Application Tests + +``` +# Test C WASM applications +AlloyStack$ just c_end_to_end_latency + +# Test Python WASM applications +AlloyStack$ just py_end_to_end_latency +``` + +## Workflow-Specific Scripts + +### C Applications +``` +# Build and test C wordcount +AlloyStack$ just c_wordcount + +# Build and test C parallel sort +AlloyStack$ just c_parallel_sort + +# Build and test C long chain +AlloyStack$ just c_long_chain +``` + +### Python Applications +``` +# Build and test Python wordcount +AlloyStack$ just python_wordcount + +# Build and test Python parallel sort +AlloyStack$ just python_parallel_sort + +# Build and test Python long chain +AlloyStack$ just python_long_chain +``` + +## Comprehensive Build Scripts +``` +# Build all Rust components +AlloyStack$ just all_rust + +# Build all C WASM applications +AlloyStack$ just all_c_wasm + +# Build all Python WASM applications +AlloyStack$ just all_py_wasm + +# Build all WASM applications +AlloyStack$ just all_wasm + +# Build and run all Rust tests +AlloyStack$ just run_rust_test +``` +## Environment Configuration +### Build Flags + +`enable_mpk` : Enable Memory Protection Keys + +`enable_pkey_per_func` : Enable per-function protection keys + +`enable_file_buffer` : Enable file-based buffering + +`enable_release` : Build in release mode + +# Helper Scripts +These scripts are included in [AlloyStack/scripts](../scripts/) directory. + +`build_all_common.sh` : Build common LibOS modules + +`build_all_common_mpk.sh` : Build LibOS modules with MPK + +`build_user.sh` : Build all user functions + +`run_tests.sh` : Run test suite + +`gen_data.py` : Generate test datasets + +`clean_all.sh` : Delete files generated by compilation \ No newline at end of file diff --git a/doc/testing_a_workflow.md b/doc/testing_a_workflow.md new file mode 100644 index 00000000..7b7ff064 --- /dev/null +++ b/doc/testing_a_workflow.md @@ -0,0 +1,81 @@ +## Testing a Workflow: map_reduce Example + +To test a workflow in AlloyStack user need to go through the following steps. The same methodology applies to any workflow (e.g., Parallel Sort, Function Chain). + +### Build System Services +``` +# Build all required Libos services +AlloyStack$ just all_libos +``` +This command compiles essential system services: `fdtab` `stdio` `mm` `fatfs` `time` + +### Build Workflow Functions +``` +# Build each function in the workflow +AlloyStack$ just rust_func file_reader +AlloyStack$ just rust_func mapper +AlloyStack$ just rust_func reducer +``` +These commands compile the workflow's functional components: `file_reader` `mapper` `reducer` + +### Execute the Workflow +``` +# Run the map_reduce workflow +AlloyStack$ target/release/asvisor --files isol_config/map_reduce.json +``` +### Workflow Execution Process + +#### Configuration (map_reduce.json) +``` +{ + "groups": [ + // Stage 1: 3 file readers with different inputs + { + "list": [ + {"name": "file_reader", "args": {"slot_name": "part-0", "input_file": "fake_data_0.txt"}}, + {"name": "file_reader", "args": {"slot_name": "part-1", "input_file": "fake_data_1.txt"}}, + {"name": "file_reader", "args": {"slot_name": "part-2", "input_file": "fake_data_2.txt"}} + ] + }, + // Stage 2: 3 parallel mappers + { + "list": ["mapper", "mapper", "mapper"], + "args": {"reducer_num": "4"} + }, + // Stage 3: 4 parallel reducers + { + "list": ["reducer", "reducer", "reducer", "reducer"], + "args": {"mapper_num": "3"} + } + ] +} + +# Stage 1: File Reading (Parallel) +file_reader: slot_name: part-0 +file_reader: read_size=9881 +file_reader: slot_name: part-1 +file_reader: read_size=9951 +file_reader: slot_name: part-2 +file_reader: read_size=9903 +... +# Stage 2: Map Processing (Parallel) +mapper: The sum of all values is: 1194 +mapper: the counter nums is 825 +mapper: shuffle end, cost 0ms +... +# Stage 3: Reduce Processing (Parallel) +reducer0 has counted 372 words +reducer1 has counted 361 words +reducer2 has counted 350 words +reducer3 has counted 362 words +... +``` + +### Testing Other Workflows +The same 3-step process applies to any workflow: + +1.Build services: `just all_libos` + +2.Build functions: `just rust_func ` + +3.Execute workflow: `target/release/asvisor --files isol_config/.json` \ No newline at end of file From 7a0508b62ac078104223670d1419bbd8885c781e Mon Sep 17 00:00:00 2001 From: NIBRSYK16 <1395951074@qq.com> Date: Tue, 15 Jul 2025 20:59:41 +0800 Subject: [PATCH 03/10] new_main --- as_std/src/agent.rs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/as_std/src/agent.rs b/as_std/src/agent.rs index c86edca1..0b925e3b 100644 --- a/as_std/src/agent.rs +++ b/as_std/src/agent.rs @@ -69,9 +69,16 @@ mod refer_based_impl { } } else { let fingerprint = T::__fingerprint(); - - libos!(buffer_alloc(&slot, l, fingerprint)).expect("alloc failed.") as *mut T - + let ptr = libos!(buffer_alloc(&slot, l, fingerprint)); + let ptr = ptr.expect("alloc failed.") as *mut T; + if ptr.is_null() { + panic!("buffer_alloc returned null pointer!"); + } + // key:Initialize memory immediately after allocation + unsafe { + core::ptr::write(ptr, T::default()); + } + ptr // let val = T::default(); // println!("will write addr=0x{:x}", addr as usize); // unsafe { core::ptr::write(addr, val) }; From cb25e1930a634ba83d258ac2527820f2c8da5189 Mon Sep 17 00:00:00 2001 From: NIBRSYK16 <1395951074@qq.com> Date: Tue, 15 Jul 2025 21:23:08 +0800 Subject: [PATCH 04/10] new_master --- justfile | 2 +- test.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 test.sh diff --git a/justfile b/justfile index c1af6a44..af7bf1a3 100644 --- a/justfile +++ b/justfile @@ -248,7 +248,7 @@ breakdown: asvisor all_libos target/{{profile}}/asvisor --files isol_config/parallel_sort_c5.json --metrics total-dur 2>&1 | grep 'total_dur' target/{{profile}}/asvisor --files isol_config/long_chain_n15.json --metrics total-dur 2>&1 | grep 'total_dur' -p99: asvisor all_libos parallel_sort +p99_latency: asvisor all_libos parallel_sort -sudo mount fs_images/fatfs.img image_content 2>/dev/null sudo -E ./scripts/gen_data.py 0 0 3 '25 * 1024 * 1024' diff --git a/test.sh b/test.sh new file mode 100755 index 00000000..2c0f9551 --- /dev/null +++ b/test.sh @@ -0,0 +1,7 @@ +just init +just all_libos +just asvisor +just all_rust +just data_transfer_latency +just cold_start_latency +just end_to_end_latency \ No newline at end of file From f17416094df2e3aa5db40222261d7307a31096ab Mon Sep 17 00:00:00 2001 From: NIBRSYK16 <1395951074@qq.com> Date: Wed, 16 Jul 2025 11:18:26 +0800 Subject: [PATCH 05/10] update --- Cargo.lock | 1 - justfile | 9 +++++---- test.sh | 9 ++++++++- user/wasmtime_checker/Cargo.lock | 1 - user/wasmtime_cpython_func/Cargo.lock | 1 - user/wasmtime_cpython_parallel_sort/Cargo.lock | 1 - user/wasmtime_cpython_wordcount/Cargo.lock | 1 - user/wasmtime_longchain/Cargo.lock | 1 - user/wasmtime_mapper/Cargo.lock | 1 - user/wasmtime_merger/Cargo.lock | 1 - user/wasmtime_reducer/Cargo.lock | 1 - user/wasmtime_sorter/Cargo.lock | 1 - user/wasmtime_spliter/Cargo.lock | 1 - wasmtime_wasi_api/Cargo.toml | 4 ++-- 14 files changed, 15 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1d60b4c4..a380d0d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1605,7 +1605,6 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" -source = "git+https://gitee.com/tju-cloud-computing/wasmtime-as-lib?branch=master#fb45fb8dde6d068abb3ae78bfab78253c9654af5" dependencies = [ "anyhow", "bumpalo", diff --git a/justfile b/justfile index af7bf1a3..5fef51b2 100644 --- a/justfile +++ b/justfile @@ -1,11 +1,11 @@ set positional-arguments -enable_mpk := "0" +enable_mpk := "1" enable_pkey_per_func := "0" enable_file_buffer := "0" -enable_release := "1" +enable_release := "0" mpk_flag := if enable_mpk == "1" { if enable_pkey_per_func == "1" { @@ -29,7 +29,8 @@ rust_func func_name: libos lib_name: cargo build {{ release_flag }} {{ if enable_mpk == "1" { "--features mpk" } else { "" } }} \ - --manifest-path common_service/{{ lib_name }}/Cargo.toml + --manifest-path common_service/{{ lib_name }}/Cargo.toml &&\ + cp common_service/{{ lib_name }}/target/{{ profile }}/lib{{ lib_name }}.so ./target/{{ profile }} pass_args: just rust_func func_a @@ -140,7 +141,7 @@ gen_data: sudo -E ./scripts/gen_data.py init: - rustup override set 'nightly-2023-12-01' + rustup override set 'nightly-2024-01-04' rustup target add x86_64-unknown-linux-musl [ -f fs_images/fatfs.img ] || unzip fs_images/fatfs.zip -d fs_images [ -d image_content ] || mkdir image_content diff --git a/test.sh b/test.sh index 2c0f9551..b3f82a27 100755 --- a/test.sh +++ b/test.sh @@ -4,4 +4,11 @@ just asvisor just all_rust just data_transfer_latency just cold_start_latency -just end_to_end_latency \ No newline at end of file +just end_to_end_latency + +long_chain_n15 +target/release/asvisor --files isol_config/long_chain_n15.json + +RUST_LOG=info cargo run -- --files "isol_config/long_chain_n15.json" + +simple_file \ No newline at end of file diff --git a/user/wasmtime_checker/Cargo.lock b/user/wasmtime_checker/Cargo.lock index 71a650b7..aca35b40 100644 --- a/user/wasmtime_checker/Cargo.lock +++ b/user/wasmtime_checker/Cargo.lock @@ -855,7 +855,6 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" -source = "git+https://gitee.com/tju-cloud-computing/wasmtime-as-lib?branch=master#fb45fb8dde6d068abb3ae78bfab78253c9654af5" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_cpython_func/Cargo.lock b/user/wasmtime_cpython_func/Cargo.lock index 2d6b3970..72667eb2 100644 --- a/user/wasmtime_cpython_func/Cargo.lock +++ b/user/wasmtime_cpython_func/Cargo.lock @@ -855,7 +855,6 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" -source = "git+https://gitee.com/tju-cloud-computing/wasmtime-as-lib?branch=master#fb45fb8dde6d068abb3ae78bfab78253c9654af5" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_cpython_parallel_sort/Cargo.lock b/user/wasmtime_cpython_parallel_sort/Cargo.lock index 0fd0d8de..39c32512 100644 --- a/user/wasmtime_cpython_parallel_sort/Cargo.lock +++ b/user/wasmtime_cpython_parallel_sort/Cargo.lock @@ -855,7 +855,6 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" -source = "git+https://gitee.com/tju-cloud-computing/wasmtime-as-lib?branch=master#fb45fb8dde6d068abb3ae78bfab78253c9654af5" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_cpython_wordcount/Cargo.lock b/user/wasmtime_cpython_wordcount/Cargo.lock index d386453a..45bd50cc 100644 --- a/user/wasmtime_cpython_wordcount/Cargo.lock +++ b/user/wasmtime_cpython_wordcount/Cargo.lock @@ -855,7 +855,6 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" -source = "git+https://gitee.com/tju-cloud-computing/wasmtime-as-lib?branch=master#fb45fb8dde6d068abb3ae78bfab78253c9654af5" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_longchain/Cargo.lock b/user/wasmtime_longchain/Cargo.lock index adbeb799..b4d51474 100644 --- a/user/wasmtime_longchain/Cargo.lock +++ b/user/wasmtime_longchain/Cargo.lock @@ -855,7 +855,6 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" -source = "git+https://gitee.com/tju-cloud-computing/wasmtime-as-lib?branch=master#fb45fb8dde6d068abb3ae78bfab78253c9654af5" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_mapper/Cargo.lock b/user/wasmtime_mapper/Cargo.lock index 432e311e..10982649 100644 --- a/user/wasmtime_mapper/Cargo.lock +++ b/user/wasmtime_mapper/Cargo.lock @@ -855,7 +855,6 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" -source = "git+https://gitee.com/tju-cloud-computing/wasmtime-as-lib?branch=master#fb45fb8dde6d068abb3ae78bfab78253c9654af5" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_merger/Cargo.lock b/user/wasmtime_merger/Cargo.lock index fbeff1f3..27185309 100644 --- a/user/wasmtime_merger/Cargo.lock +++ b/user/wasmtime_merger/Cargo.lock @@ -855,7 +855,6 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" -source = "git+https://gitee.com/tju-cloud-computing/wasmtime-as-lib?branch=master#fb45fb8dde6d068abb3ae78bfab78253c9654af5" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_reducer/Cargo.lock b/user/wasmtime_reducer/Cargo.lock index 7eebb7db..39835a53 100644 --- a/user/wasmtime_reducer/Cargo.lock +++ b/user/wasmtime_reducer/Cargo.lock @@ -855,7 +855,6 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" -source = "git+https://gitee.com/tju-cloud-computing/wasmtime-as-lib?branch=master#fb45fb8dde6d068abb3ae78bfab78253c9654af5" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_sorter/Cargo.lock b/user/wasmtime_sorter/Cargo.lock index 264cbf8c..3a173757 100644 --- a/user/wasmtime_sorter/Cargo.lock +++ b/user/wasmtime_sorter/Cargo.lock @@ -855,7 +855,6 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" -source = "git+https://gitee.com/tju-cloud-computing/wasmtime-as-lib?branch=master#fb45fb8dde6d068abb3ae78bfab78253c9654af5" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_spliter/Cargo.lock b/user/wasmtime_spliter/Cargo.lock index bbd0289a..175f127e 100644 --- a/user/wasmtime_spliter/Cargo.lock +++ b/user/wasmtime_spliter/Cargo.lock @@ -855,7 +855,6 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" -source = "git+https://gitee.com/tju-cloud-computing/wasmtime-as-lib?branch=master#fb45fb8dde6d068abb3ae78bfab78253c9654af5" dependencies = [ "anyhow", "bumpalo", diff --git a/wasmtime_wasi_api/Cargo.toml b/wasmtime_wasi_api/Cargo.toml index 5fa2189e..0782760e 100644 --- a/wasmtime_wasi_api/Cargo.toml +++ b/wasmtime_wasi_api/Cargo.toml @@ -16,8 +16,8 @@ hashbrown = { version = "0.14", default-features = false, features = ["ahash"] } lazy_static = { version = "1.4.0", features = ["spin_no_std"] } sjlj = { version = "0.1.3" } -# wasmtime = { path = "../wasmtime-as-lib", default-features = false, features = [ -wasmtime = { git = "https://gitee.com/tju-cloud-computing/wasmtime-as-lib", branch = "master", default-features = false, features = [ +# wasmtime = { git = "https://gitee.com/tju-cloud-computing/wasmtime-as-lib", branch = "master", default-features = false, features = [ +wasmtime = { path = "../../wasmtime-as-lib", default-features = false, features = [ "runtime", "gc", "component-model", From b2c86b865cf19f188d12d935ea86d83a813de592 Mon Sep 17 00:00:00 2001 From: NIBRSYK16 <1395951074@qq.com> Date: Wed, 16 Jul 2025 18:36:56 +0800 Subject: [PATCH 06/10] new_main --- as_parallel_sort_resouce_c5_25_20.txt | 2 ++ as_parallel_sort_resouce_c5_25_40.txt | 2 ++ as_parallel_sort_resouce_c5_25_60.txt | 40 +++++++++++++++++++++++ as_parallel_sort_resouce_c5_25_80.txt | 46 +++++++++++++++++++++++++++ justfile | 4 +-- scripts/run_tests.sh | 13 +++++--- 6 files changed, 101 insertions(+), 6 deletions(-) create mode 100644 as_parallel_sort_resouce_c5_25_20.txt create mode 100644 as_parallel_sort_resouce_c5_25_40.txt create mode 100644 as_parallel_sort_resouce_c5_25_60.txt create mode 100644 as_parallel_sort_resouce_c5_25_80.txt diff --git a/as_parallel_sort_resouce_c5_25_20.txt b/as_parallel_sort_resouce_c5_25_20.txt new file mode 100644 index 00000000..b525c612 --- /dev/null +++ b/as_parallel_sort_resouce_c5_25_20.txt @@ -0,0 +1,2 @@ +2025-07-16 16:25:23.023, 20.2, 13.8, 11043 +2025-07-16 16:25:23.226, 0.8, 0.2, 10976 diff --git a/as_parallel_sort_resouce_c5_25_40.txt b/as_parallel_sort_resouce_c5_25_40.txt new file mode 100644 index 00000000..81bd69de --- /dev/null +++ b/as_parallel_sort_resouce_c5_25_40.txt @@ -0,0 +1,2 @@ +2025-07-16 16:25:27.256, 23.4, 19.3, 11047 +2025-07-16 16:25:27.465, 29.8, 25.9, 11054 diff --git a/as_parallel_sort_resouce_c5_25_60.txt b/as_parallel_sort_resouce_c5_25_60.txt new file mode 100644 index 00000000..434957b2 --- /dev/null +++ b/as_parallel_sort_resouce_c5_25_60.txt @@ -0,0 +1,40 @@ +2025-07-16 16:25:31.666, 71.4, 20.8, 11768 +2025-07-16 16:25:31.953, 81.8, 18.2, 13546 +2025-07-16 16:25:32.244, 92.9, 7.0, 14764 +2025-07-16 16:25:32.592, 82.4, 17.6, 12425 +2025-07-16 16:25:32.876, 84.9, 15.1, 13893 +2025-07-16 16:25:33.214, 92.0, 8.0, 15482 +2025-07-16 16:25:33.522, 81.6, 18.4, 13099 +2025-07-16 16:25:33.816, 85.1, 14.9, 13804 +2025-07-16 16:25:34.121, 91.1, 8.9, 14690 +2025-07-16 16:25:34.414, 82.6, 17.4, 12891 +2025-07-16 16:25:34.737, 86.0, 14.0, 14415 +2025-07-16 16:25:35.027, 89.6, 10.4, 15290 +2025-07-16 16:25:35.346, 84.3, 15.6, 13062 +2025-07-16 16:25:35.607, 84.8, 15.2, 13834 +2025-07-16 16:25:35.906, 91.8, 8.2, 15169 +2025-07-16 16:25:36.215, 83.7, 16.3, 13107 +2025-07-16 16:25:36.494, 84.4, 15.6, 13834 +2025-07-16 16:25:36.767, 91.4, 8.6, 15180 +2025-07-16 16:25:37.067, 83.6, 16.4, 13167 +2025-07-16 16:25:37.358, 84.2, 15.8, 13950 +2025-07-16 16:25:37.676, 91.7, 8.3, 15082 +2025-07-16 16:25:38.004, 84.6, 15.4, 13222 +2025-07-16 16:25:38.259, 81.7, 18.3, 13621 +2025-07-16 16:25:38.537, 92.2, 7.8, 14864 +2025-07-16 16:25:38.820, 87.8, 12.2, 14403 +2025-07-16 16:25:39.063, 81.9, 18.1, 13218 +2025-07-16 16:25:39.383, 89.9, 10.1, 14368 +2025-07-16 16:25:39.714, 87.8, 12.2, 14615 +2025-07-16 16:25:40.001, 82.5, 17.5, 13137 +2025-07-16 16:25:40.354, 90.5, 9.5, 14903 +2025-07-16 16:25:40.656, 86.8, 13.2, 14115 +2025-07-16 16:25:40.926, 83.8, 16.2, 13495 +2025-07-16 16:25:41.313, 91.3, 8.7, 14640 +2025-07-16 16:25:41.610, 85.9, 14.1, 13238 +2025-07-16 16:25:41.913, 82.8, 17.2, 13812 +2025-07-16 16:25:42.248, 91.0, 9.0, 14983 +2025-07-16 16:25:42.530, 84.7, 15.2, 13150 +2025-07-16 16:25:42.882, 87.9, 12.1, 13882 +2025-07-16 16:25:43.190, 88.2, 6.2, 13796 +2025-07-16 16:25:43.414, 14.9, 1.9, 10937 diff --git a/as_parallel_sort_resouce_c5_25_80.txt b/as_parallel_sort_resouce_c5_25_80.txt new file mode 100644 index 00000000..c7df0a54 --- /dev/null +++ b/as_parallel_sort_resouce_c5_25_80.txt @@ -0,0 +1,46 @@ +2025-07-16 16:25:47.583, 78.3, 21.2, 12129 +2025-07-16 16:25:47.991, 80.0, 19.9, 14217 +2025-07-16 16:25:48.315, 93.0, 7.0, 16183 +2025-07-16 16:25:48.755, 83.9, 16.1, 16437 +2025-07-16 16:25:49.110, 81.1, 18.9, 13941 +2025-07-16 16:25:49.484, 85.6, 14.4, 14811 +2025-07-16 16:25:49.827, 91.1, 8.9, 16507 +2025-07-16 16:25:50.191, 80.2, 19.8, 14010 +2025-07-16 16:25:50.483, 82.1, 17.9, 14307 +2025-07-16 16:25:50.871, 92.9, 7.0, 15831 +2025-07-16 16:25:51.178, 85.8, 14.2, 15150 +2025-07-16 16:25:51.494, 80.2, 19.8, 13614 +2025-07-16 16:25:51.801, 84.5, 15.5, 14534 +2025-07-16 16:25:52.126, 92.6, 7.4, 16445 +2025-07-16 16:25:52.438, 81.9, 18.1, 13016 +2025-07-16 16:25:52.806, 81.5, 18.5, 13983 +2025-07-16 16:25:53.152, 91.9, 8.1, 16097 +2025-07-16 16:25:53.542, 85.0, 15.0, 15316 +2025-07-16 16:25:53.874, 81.6, 18.4, 13768 +2025-07-16 16:25:54.263, 90.0, 10.0, 15775 +2025-07-16 16:25:54.643, 89.4, 10.6, 16247 +2025-07-16 16:25:54.946, 81.6, 18.4, 13767 +2025-07-16 16:25:55.283, 82.4, 17.6, 14696 +2025-07-16 16:25:55.580, 91.9, 8.1, 16177 +2025-07-16 16:25:55.914, 84.8, 15.2, 14636 +2025-07-16 16:25:56.256, 80.8, 19.2, 13817 +2025-07-16 16:25:56.623, 89.9, 10.1, 15909 +2025-07-16 16:25:57.023, 87.2, 12.8, 16270 +2025-07-16 16:25:57.350, 80.9, 19.1, 13802 +2025-07-16 16:25:57.663, 82.9, 17.1, 14554 +2025-07-16 16:25:57.943, 92.3, 7.7, 16217 +2025-07-16 16:25:58.310, 83.9, 16.1, 14366 +2025-07-16 16:25:58.616, 81.0, 19.0, 13709 +2025-07-16 16:25:58.930, 88.5, 11.5, 15597 +2025-07-16 16:25:59.276, 89.5, 10.5, 15958 +2025-07-16 16:25:59.566, 81.6, 18.4, 13880 +2025-07-16 16:25:59.904, 83.7, 16.3, 14159 +2025-07-16 16:26:00.266, 91.7, 8.3, 15954 +2025-07-16 16:26:00.637, 85.7, 14.3, 15062 +2025-07-16 16:26:00.918, 82.2, 17.8, 14082 +2025-07-16 16:26:01.281, 87.6, 12.4, 14995 +2025-07-16 16:26:01.583, 89.9, 10.1, 15892 +2025-07-16 16:26:01.929, 82.3, 17.7, 13731 +2025-07-16 16:26:02.249, 87.3, 12.7, 14535 +2025-07-16 16:26:02.585, 89.1, 6.6, 14293 +2025-07-16 16:26:02.851, 4.5, 1.0, 11008 diff --git a/justfile b/justfile index 5fef51b2..ae67caf6 100644 --- a/justfile +++ b/justfile @@ -5,7 +5,7 @@ enable_mpk := "1" enable_pkey_per_func := "0" enable_file_buffer := "0" -enable_release := "0" +enable_release := "1" mpk_flag := if enable_mpk == "1" { if enable_pkey_per_func == "1" { @@ -73,7 +73,7 @@ all_rust: run_rust_test: just all_libos just all_rust - ./scripts/run_tests.sh {{ mpk_flag }} + ./scripts/run_tests.sh {{ mpk_flag }} {{release_flag}} cc_flags_p1 := "-Wl,--gc-sections -nostdlib -Wl,--whole-archive" cc_flags_p2 := "-Wl,--no-whole-archive -shared" diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 82586a26..db916091 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -11,15 +11,20 @@ declare -A results # 获取脚本参数(feature) feature_arg="" -if [ $# -gt 0 ]; then - feature_arg="--features $1" -fi +release_arg="" +for arg in "$@"; do + if [[ $arg == --features* ]]; then + feature_arg="$arg" + elif [[ $arg == --release ]]; then + release_arg="--release" + fi +done for group in "${!test_groups[@]}"; do names=${test_groups[$group]} for name in $names; do - output=$(RUST_LOG=info cargo run $feature_arg -- --files "isol_config/$name.json") + output=$(RUST_LOG=info cargo run $release_arg $feature_arg -- --files "isol_config/$name.json") if [ $? -eq 0 ]; then results[$name]="passed" ((passed_count++)) # 增加通过计数 From 98e8b82d152663f40036b774f9446b170cd9f0a1 Mon Sep 17 00:00:00 2001 From: kkkkkkai <1395951074@qq.com> Date: Wed, 16 Jul 2025 20:16:30 +0800 Subject: [PATCH 07/10] update --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index ae67caf6..4c6901b9 100644 --- a/justfile +++ b/justfile @@ -73,7 +73,7 @@ all_rust: run_rust_test: just all_libos just all_rust - ./scripts/run_tests.sh {{ mpk_flag }} {{release_flag}} + ./scripts/run_tests.sh {{release_flag}} {{ mpk_flag }} cc_flags_p1 := "-Wl,--gc-sections -nostdlib -Wl,--whole-archive" cc_flags_p2 := "-Wl,--no-whole-archive -shared" From 7cbb205292bf0762d7ea66d8a202ec739af9ee4f Mon Sep 17 00:00:00 2001 From: kkkkkkai <1395951074@qq.com> Date: Wed, 16 Jul 2025 20:29:19 +0800 Subject: [PATCH 08/10] a new version --- Cargo.lock | 3 +- as_parallel_sort_resouce_c5_25_20.txt | 2 -- as_parallel_sort_resouce_c5_25_40.txt | 2 -- as_parallel_sort_resouce_c5_25_60.txt | 40 ----------------------- as_parallel_sort_resouce_c5_25_80.txt | 46 --------------------------- test.sh | 14 -------- user/wasmtime_checker/Cargo.lock | 1 + user/wasmtime_longchain/Cargo.lock | 1 + user/wasmtime_mapper/Cargo.lock | 1 + user/wasmtime_merger/Cargo.lock | 1 + user/wasmtime_reducer/Cargo.lock | 1 + user/wasmtime_sorter/Cargo.lock | 1 + user/wasmtime_spliter/Cargo.lock | 1 + wasmtime_wasi_api/Cargo.toml | 4 +-- 14 files changed, 11 insertions(+), 107 deletions(-) delete mode 100644 as_parallel_sort_resouce_c5_25_20.txt delete mode 100644 as_parallel_sort_resouce_c5_25_40.txt delete mode 100644 as_parallel_sort_resouce_c5_25_60.txt delete mode 100644 as_parallel_sort_resouce_c5_25_80.txt delete mode 100755 test.sh diff --git a/Cargo.lock b/Cargo.lock index a380d0d7..2639431f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "addr2line" @@ -1605,6 +1605,7 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" +source = "git+https://gitee.com/tanksys/wasmtime-as-lib?branch=dev-0720#fb45fb8dde6d068abb3ae78bfab78253c9654af5" dependencies = [ "anyhow", "bumpalo", diff --git a/as_parallel_sort_resouce_c5_25_20.txt b/as_parallel_sort_resouce_c5_25_20.txt deleted file mode 100644 index b525c612..00000000 --- a/as_parallel_sort_resouce_c5_25_20.txt +++ /dev/null @@ -1,2 +0,0 @@ -2025-07-16 16:25:23.023, 20.2, 13.8, 11043 -2025-07-16 16:25:23.226, 0.8, 0.2, 10976 diff --git a/as_parallel_sort_resouce_c5_25_40.txt b/as_parallel_sort_resouce_c5_25_40.txt deleted file mode 100644 index 81bd69de..00000000 --- a/as_parallel_sort_resouce_c5_25_40.txt +++ /dev/null @@ -1,2 +0,0 @@ -2025-07-16 16:25:27.256, 23.4, 19.3, 11047 -2025-07-16 16:25:27.465, 29.8, 25.9, 11054 diff --git a/as_parallel_sort_resouce_c5_25_60.txt b/as_parallel_sort_resouce_c5_25_60.txt deleted file mode 100644 index 434957b2..00000000 --- a/as_parallel_sort_resouce_c5_25_60.txt +++ /dev/null @@ -1,40 +0,0 @@ -2025-07-16 16:25:31.666, 71.4, 20.8, 11768 -2025-07-16 16:25:31.953, 81.8, 18.2, 13546 -2025-07-16 16:25:32.244, 92.9, 7.0, 14764 -2025-07-16 16:25:32.592, 82.4, 17.6, 12425 -2025-07-16 16:25:32.876, 84.9, 15.1, 13893 -2025-07-16 16:25:33.214, 92.0, 8.0, 15482 -2025-07-16 16:25:33.522, 81.6, 18.4, 13099 -2025-07-16 16:25:33.816, 85.1, 14.9, 13804 -2025-07-16 16:25:34.121, 91.1, 8.9, 14690 -2025-07-16 16:25:34.414, 82.6, 17.4, 12891 -2025-07-16 16:25:34.737, 86.0, 14.0, 14415 -2025-07-16 16:25:35.027, 89.6, 10.4, 15290 -2025-07-16 16:25:35.346, 84.3, 15.6, 13062 -2025-07-16 16:25:35.607, 84.8, 15.2, 13834 -2025-07-16 16:25:35.906, 91.8, 8.2, 15169 -2025-07-16 16:25:36.215, 83.7, 16.3, 13107 -2025-07-16 16:25:36.494, 84.4, 15.6, 13834 -2025-07-16 16:25:36.767, 91.4, 8.6, 15180 -2025-07-16 16:25:37.067, 83.6, 16.4, 13167 -2025-07-16 16:25:37.358, 84.2, 15.8, 13950 -2025-07-16 16:25:37.676, 91.7, 8.3, 15082 -2025-07-16 16:25:38.004, 84.6, 15.4, 13222 -2025-07-16 16:25:38.259, 81.7, 18.3, 13621 -2025-07-16 16:25:38.537, 92.2, 7.8, 14864 -2025-07-16 16:25:38.820, 87.8, 12.2, 14403 -2025-07-16 16:25:39.063, 81.9, 18.1, 13218 -2025-07-16 16:25:39.383, 89.9, 10.1, 14368 -2025-07-16 16:25:39.714, 87.8, 12.2, 14615 -2025-07-16 16:25:40.001, 82.5, 17.5, 13137 -2025-07-16 16:25:40.354, 90.5, 9.5, 14903 -2025-07-16 16:25:40.656, 86.8, 13.2, 14115 -2025-07-16 16:25:40.926, 83.8, 16.2, 13495 -2025-07-16 16:25:41.313, 91.3, 8.7, 14640 -2025-07-16 16:25:41.610, 85.9, 14.1, 13238 -2025-07-16 16:25:41.913, 82.8, 17.2, 13812 -2025-07-16 16:25:42.248, 91.0, 9.0, 14983 -2025-07-16 16:25:42.530, 84.7, 15.2, 13150 -2025-07-16 16:25:42.882, 87.9, 12.1, 13882 -2025-07-16 16:25:43.190, 88.2, 6.2, 13796 -2025-07-16 16:25:43.414, 14.9, 1.9, 10937 diff --git a/as_parallel_sort_resouce_c5_25_80.txt b/as_parallel_sort_resouce_c5_25_80.txt deleted file mode 100644 index c7df0a54..00000000 --- a/as_parallel_sort_resouce_c5_25_80.txt +++ /dev/null @@ -1,46 +0,0 @@ -2025-07-16 16:25:47.583, 78.3, 21.2, 12129 -2025-07-16 16:25:47.991, 80.0, 19.9, 14217 -2025-07-16 16:25:48.315, 93.0, 7.0, 16183 -2025-07-16 16:25:48.755, 83.9, 16.1, 16437 -2025-07-16 16:25:49.110, 81.1, 18.9, 13941 -2025-07-16 16:25:49.484, 85.6, 14.4, 14811 -2025-07-16 16:25:49.827, 91.1, 8.9, 16507 -2025-07-16 16:25:50.191, 80.2, 19.8, 14010 -2025-07-16 16:25:50.483, 82.1, 17.9, 14307 -2025-07-16 16:25:50.871, 92.9, 7.0, 15831 -2025-07-16 16:25:51.178, 85.8, 14.2, 15150 -2025-07-16 16:25:51.494, 80.2, 19.8, 13614 -2025-07-16 16:25:51.801, 84.5, 15.5, 14534 -2025-07-16 16:25:52.126, 92.6, 7.4, 16445 -2025-07-16 16:25:52.438, 81.9, 18.1, 13016 -2025-07-16 16:25:52.806, 81.5, 18.5, 13983 -2025-07-16 16:25:53.152, 91.9, 8.1, 16097 -2025-07-16 16:25:53.542, 85.0, 15.0, 15316 -2025-07-16 16:25:53.874, 81.6, 18.4, 13768 -2025-07-16 16:25:54.263, 90.0, 10.0, 15775 -2025-07-16 16:25:54.643, 89.4, 10.6, 16247 -2025-07-16 16:25:54.946, 81.6, 18.4, 13767 -2025-07-16 16:25:55.283, 82.4, 17.6, 14696 -2025-07-16 16:25:55.580, 91.9, 8.1, 16177 -2025-07-16 16:25:55.914, 84.8, 15.2, 14636 -2025-07-16 16:25:56.256, 80.8, 19.2, 13817 -2025-07-16 16:25:56.623, 89.9, 10.1, 15909 -2025-07-16 16:25:57.023, 87.2, 12.8, 16270 -2025-07-16 16:25:57.350, 80.9, 19.1, 13802 -2025-07-16 16:25:57.663, 82.9, 17.1, 14554 -2025-07-16 16:25:57.943, 92.3, 7.7, 16217 -2025-07-16 16:25:58.310, 83.9, 16.1, 14366 -2025-07-16 16:25:58.616, 81.0, 19.0, 13709 -2025-07-16 16:25:58.930, 88.5, 11.5, 15597 -2025-07-16 16:25:59.276, 89.5, 10.5, 15958 -2025-07-16 16:25:59.566, 81.6, 18.4, 13880 -2025-07-16 16:25:59.904, 83.7, 16.3, 14159 -2025-07-16 16:26:00.266, 91.7, 8.3, 15954 -2025-07-16 16:26:00.637, 85.7, 14.3, 15062 -2025-07-16 16:26:00.918, 82.2, 17.8, 14082 -2025-07-16 16:26:01.281, 87.6, 12.4, 14995 -2025-07-16 16:26:01.583, 89.9, 10.1, 15892 -2025-07-16 16:26:01.929, 82.3, 17.7, 13731 -2025-07-16 16:26:02.249, 87.3, 12.7, 14535 -2025-07-16 16:26:02.585, 89.1, 6.6, 14293 -2025-07-16 16:26:02.851, 4.5, 1.0, 11008 diff --git a/test.sh b/test.sh deleted file mode 100755 index b3f82a27..00000000 --- a/test.sh +++ /dev/null @@ -1,14 +0,0 @@ -just init -just all_libos -just asvisor -just all_rust -just data_transfer_latency -just cold_start_latency -just end_to_end_latency - -long_chain_n15 -target/release/asvisor --files isol_config/long_chain_n15.json - -RUST_LOG=info cargo run -- --files "isol_config/long_chain_n15.json" - -simple_file \ No newline at end of file diff --git a/user/wasmtime_checker/Cargo.lock b/user/wasmtime_checker/Cargo.lock index aca35b40..207131cc 100644 --- a/user/wasmtime_checker/Cargo.lock +++ b/user/wasmtime_checker/Cargo.lock @@ -855,6 +855,7 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" +source = "git+https://gitee.com/su-yuan-kkkkkkai/wasmtime-as-lib?branch=master#5f63a2d075104040cbe4b4177d6a4389321d72f6" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_longchain/Cargo.lock b/user/wasmtime_longchain/Cargo.lock index b4d51474..2e9e8bca 100644 --- a/user/wasmtime_longchain/Cargo.lock +++ b/user/wasmtime_longchain/Cargo.lock @@ -855,6 +855,7 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" +source = "git+https://gitee.com/su-yuan-kkkkkkai/wasmtime-as-lib?branch=master#5f63a2d075104040cbe4b4177d6a4389321d72f6" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_mapper/Cargo.lock b/user/wasmtime_mapper/Cargo.lock index 10982649..3b2b4f10 100644 --- a/user/wasmtime_mapper/Cargo.lock +++ b/user/wasmtime_mapper/Cargo.lock @@ -855,6 +855,7 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" +source = "git+https://gitee.com/su-yuan-kkkkkkai/wasmtime-as-lib?branch=master#5f63a2d075104040cbe4b4177d6a4389321d72f6" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_merger/Cargo.lock b/user/wasmtime_merger/Cargo.lock index 27185309..03cf3328 100644 --- a/user/wasmtime_merger/Cargo.lock +++ b/user/wasmtime_merger/Cargo.lock @@ -855,6 +855,7 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" +source = "git+https://gitee.com/su-yuan-kkkkkkai/wasmtime-as-lib?branch=master#5f63a2d075104040cbe4b4177d6a4389321d72f6" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_reducer/Cargo.lock b/user/wasmtime_reducer/Cargo.lock index 39835a53..65a89dec 100644 --- a/user/wasmtime_reducer/Cargo.lock +++ b/user/wasmtime_reducer/Cargo.lock @@ -855,6 +855,7 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" +source = "git+https://gitee.com/su-yuan-kkkkkkai/wasmtime-as-lib?branch=master#5f63a2d075104040cbe4b4177d6a4389321d72f6" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_sorter/Cargo.lock b/user/wasmtime_sorter/Cargo.lock index 3a173757..fe292732 100644 --- a/user/wasmtime_sorter/Cargo.lock +++ b/user/wasmtime_sorter/Cargo.lock @@ -855,6 +855,7 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" +source = "git+https://gitee.com/su-yuan-kkkkkkai/wasmtime-as-lib?branch=master#5f63a2d075104040cbe4b4177d6a4389321d72f6" dependencies = [ "anyhow", "bumpalo", diff --git a/user/wasmtime_spliter/Cargo.lock b/user/wasmtime_spliter/Cargo.lock index 175f127e..d50d238a 100644 --- a/user/wasmtime_spliter/Cargo.lock +++ b/user/wasmtime_spliter/Cargo.lock @@ -855,6 +855,7 @@ dependencies = [ [[package]] name = "wasmtime" version = "22.0.0" +source = "git+https://gitee.com/su-yuan-kkkkkkai/wasmtime-as-lib?branch=master#5f63a2d075104040cbe4b4177d6a4389321d72f6" dependencies = [ "anyhow", "bumpalo", diff --git a/wasmtime_wasi_api/Cargo.toml b/wasmtime_wasi_api/Cargo.toml index 0782760e..0b208e27 100644 --- a/wasmtime_wasi_api/Cargo.toml +++ b/wasmtime_wasi_api/Cargo.toml @@ -16,8 +16,8 @@ hashbrown = { version = "0.14", default-features = false, features = ["ahash"] } lazy_static = { version = "1.4.0", features = ["spin_no_std"] } sjlj = { version = "0.1.3" } -# wasmtime = { git = "https://gitee.com/tju-cloud-computing/wasmtime-as-lib", branch = "master", default-features = false, features = [ -wasmtime = { path = "../../wasmtime-as-lib", default-features = false, features = [ +# wasmtime = { path = "../../wasmtime-as-lib", default-features = false, features = [ +wasmtime = { git = "https://gitee.com/tanksys/wasmtime-as-lib", branch = "dev-0720", default-features = false, features = [ "runtime", "gc", "component-model", From 58f2c79a1e3974dadbc4898d25be1ac63600b3df Mon Sep 17 00:00:00 2001 From: NIBRSYK16 <1395951074@qq.com> Date: Thu, 17 Jul 2025 12:49:24 +0800 Subject: [PATCH 09/10] add dependencies --- justfile | 1 + 1 file changed, 1 insertion(+) diff --git a/justfile b/justfile index 4c6901b9..f306c63a 100644 --- a/justfile +++ b/justfile @@ -143,6 +143,7 @@ gen_data: init: rustup override set 'nightly-2024-01-04' rustup target add x86_64-unknown-linux-musl + rustup target add x86_64-unknown-none [ -f fs_images/fatfs.img ] || unzip fs_images/fatfs.zip -d fs_images [ -d image_content ] || mkdir image_content From 7499e55ecc4c7101c1f9907fd059d4868ca9f3cf Mon Sep 17 00:00:00 2001 From: NIBRSYK16 <1395951074@qq.com> Date: Thu, 17 Jul 2025 12:52:30 +0800 Subject: [PATCH 10/10] delete ./Cargo.lock --- Cargo.lock | 2041 ---------------------------------------------------- 1 file changed, 2041 deletions(-) delete mode 100644 Cargo.lock diff --git a/Cargo.lock b/Cargo.lock deleted file mode 100644 index 2639431f..00000000 --- a/Cargo.lock +++ /dev/null @@ -1,2041 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 4 - -[[package]] -name = "addr2line" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" -dependencies = [ - "gimli 0.28.1", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "ahash" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" -dependencies = [ - "cfg-if", - "once_cell", - "version_check", - "zerocopy", -] - -[[package]] -name = "aho-corasick" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" -dependencies = [ - "memchr", -] - -[[package]] -name = "anstream" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" - -[[package]] -name = "anstyle-parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" -dependencies = [ - "windows-sys 0.48.0", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" -dependencies = [ - "anstyle", - "windows-sys 0.48.0", -] - -[[package]] -name = "anyhow" -version = "1.0.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519" - -[[package]] -name = "arbitrary" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110" - -[[package]] -name = "as_hostcall" -version = "0.1.0" -dependencies = [ - "bitflags 2.6.0", - "derive_more", - "thiserror-no-std", -] - -[[package]] -name = "as_std" -version = "0.1.0" -dependencies = [ - "as_hostcall", - "as_std_proc_macro", - "cfg-if", - "heapless", - "linked_list_allocator", - "serde", - "serde_json", - "spin 0.9.8", - "thiserror-no-std", - "unwinding", -] - -[[package]] -name = "as_std_proc_macro" -version = "0.1.0" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "asvisor" -version = "0.1.0" -dependencies = [ - "anyhow", - "clap", - "derive_more", - "env_logger", - "libasvisor", - "log", - "thiserror-no-std", - "tokio", -] - -[[package]] -name = "async-trait" -version = "0.1.74" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.96", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "axum" -version = "0.6.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" -dependencies = [ - "async-trait", - "axum-core", - "axum-macros", - "bitflags 1.3.2", - "bytes", - "futures-util", - "http", - "http-body", - "hyper", - "itoa", - "matchit", - "memchr", - "mime", - "percent-encoding", - "pin-project-lite", - "rustversion", - "serde", - "serde_json", - "serde_path_to_error", - "serde_urlencoded", - "sync_wrapper", - "tokio", - "tower", - "tower-layer", - "tower-service", -] - -[[package]] -name = "axum-core" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c" -dependencies = [ - "async-trait", - "bytes", - "futures-util", - "http", - "http-body", - "mime", - "rustversion", - "tower-layer", - "tower-service", -] - -[[package]] -name = "axum-macros" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdca6a10ecad987bda04e95606ef85a5417dcaac1a78455242d72e031e2b6b62" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn 2.0.96", -] - -[[package]] -name = "backtrace" -version = "0.3.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" -dependencies = [ - "addr2line", - "cc", - "cfg-if", - "libc", - "miniz_oxide", - "object 0.32.1", - "rustc-demangle", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" - -[[package]] -name = "bumpalo" -version = "3.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" - -[[package]] -name = "byteorder" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" - -[[package]] -name = "bytes" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" - -[[package]] -name = "cc" -version = "1.0.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" -dependencies = [ - "libc", -] - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "cfg_aliases" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" - -[[package]] -name = "clap" -version = "4.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41fffed7514f420abec6d183b1d3acfd9099c79c3a10a06ade4f8203f1411272" -dependencies = [ - "clap_builder", - "clap_derive", -] - -[[package]] -name = "clap_builder" -version = "4.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63361bae7eef3771745f02d8d892bec2fee5f6e34af316ba556e7f97a7069ff1" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_derive" -version = "4.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn 2.0.96", -] - -[[package]] -name = "clap_lex" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" - -[[package]] -name = "cobs" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67ba02a97a2bd10f4b59b25c7973101c79642302776489e030cd13cdab09ed15" - -[[package]] -name = "colorchoice" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" - -[[package]] -name = "convert_case" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" - -[[package]] -name = "cranelift-bforest" -version = "0.109.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b6b33d7e757a887989eb18b35712b2a67d96171ec3149d1bfb657b29b7b367c" -dependencies = [ - "cranelift-entity", -] - -[[package]] -name = "cranelift-codegen" -version = "0.109.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9acf15cb22be42d07c3b57d7856329cb228b7315d385346149df2566ad5e4aa" -dependencies = [ - "bumpalo", - "cranelift-bforest", - "cranelift-codegen-meta", - "cranelift-codegen-shared", - "cranelift-control", - "cranelift-entity", - "cranelift-isle", - "gimli 0.28.1", - "hashbrown 0.14.5", - "log", - "regalloc2", - "rustc-hash", - "smallvec", - "target-lexicon", -] - -[[package]] -name = "cranelift-codegen-meta" -version = "0.109.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e934d301392b73b3f8b0540391fb82465a0f179a3cee7c726482ac4727efcc97" -dependencies = [ - "cranelift-codegen-shared", -] - -[[package]] -name = "cranelift-codegen-shared" -version = "0.109.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb2a2566b3d54b854dfb288b3b187f6d3d17d6f762c92898207eba302931da" - -[[package]] -name = "cranelift-control" -version = "0.109.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0100f33b704cdacd01ad66ff41f8c5030d57cbff078e2a4e49ab1822591299fa" -dependencies = [ - "arbitrary", -] - -[[package]] -name = "cranelift-entity" -version = "0.109.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8cfdc315e5d18997093e040a8d234bea1ac1e118a716d3e30f40d449e78207b" -dependencies = [ - "serde", - "serde_derive", -] - -[[package]] -name = "cranelift-frontend" -version = "0.109.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f74b84f16af2e982b0c0c72233503d9d55cbfe3865dbe807ca28dc6642a28b5" -dependencies = [ - "cranelift-codegen", - "log", - "smallvec", - "target-lexicon", -] - -[[package]] -name = "cranelift-isle" -version = "0.109.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adf306d3dde705fb94bd48082f01d38c4ededc74293a4c007805f610bf08bc6e" - -[[package]] -name = "cranelift-native" -version = "0.109.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ea0ebdef7aff4a79bcbc8b6495f31315f16b3bf311152f472eaa8d679352581" -dependencies = [ - "cranelift-codegen", - "libc", - "target-lexicon", -] - -[[package]] -name = "cranelift-wasm" -version = "0.109.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d549108a1942065cdbac3bb96c2952afa0e1b9a3beff4b08c4308ac72257576d" -dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "itertools", - "log", - "smallvec", - "wasmparser", - "wasmtime-types", -] - -[[package]] -name = "crc32fast" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "derive_more" -version = "0.99.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" -dependencies = [ - "convert_case", - "proc-macro2", - "quote", - "rustc_version", - "syn 1.0.109", -] - -[[package]] -name = "either" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" - -[[package]] -name = "embedded-io" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" - -[[package]] -name = "embedded-io" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" - -[[package]] -name = "encoding_rs" -version = "0.8.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "env_logger" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] - -[[package]] -name = "equivalent" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" - -[[package]] -name = "errno" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - -[[package]] -name = "fallible-iterator" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foldhash" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2" - -[[package]] -name = "form_urlencoded" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "futures-channel" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" -dependencies = [ - "futures-core", -] - -[[package]] -name = "futures-core" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" - -[[package]] -name = "futures-task" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" - -[[package]] -name = "futures-util" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" -dependencies = [ - "futures-core", - "futures-task", - "pin-project-lite", - "pin-utils", -] - -[[package]] -name = "gen-file" -version = "0.1.0" -dependencies = [ - "libasvisor", -] - -[[package]] -name = "gimli" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" - -[[package]] -name = "gimli" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" -dependencies = [ - "fallible-iterator", - "indexmap", - "stable_deref_trait", -] - -[[package]] -name = "hash32" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47d60b12902ba28e2730cd37e95b8c9223af2808df9e902d4df49588d1470606" -dependencies = [ - "byteorder", -] - -[[package]] -name = "hashbrown" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" -dependencies = [ - "ahash", -] - -[[package]] -name = "hashbrown" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" -dependencies = [ - "ahash", - "serde", -] - -[[package]] -name = "hashbrown" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" -dependencies = [ - "foldhash", -] - -[[package]] -name = "heapless" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bfb9eb618601c89945a70e254898da93b13be0388091d42117462b265bb3fad" -dependencies = [ - "hash32", - "stable_deref_trait", -] - -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[package]] -name = "hermit-abi" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" - -[[package]] -name = "http" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - -[[package]] -name = "http-body" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" -dependencies = [ - "bytes", - "http", - "pin-project-lite", -] - -[[package]] -name = "httparse" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" - -[[package]] -name = "httpdate" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" - -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - -[[package]] -name = "hyper" -version = "0.14.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "http", - "http-body", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "socket2 0.4.10", - "tokio", - "tower-service", - "tracing", - "want", -] - -[[package]] -name = "id-arena" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25a2bc672d1148e28034f176e01fffebb08b35768468cc954630da77a1449005" - -[[package]] -name = "indexmap" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5" -dependencies = [ - "equivalent", - "hashbrown 0.14.5", - "serde", -] - -[[package]] -name = "is-terminal" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" -dependencies = [ - "hermit-abi", - "rustix", - "windows-sys 0.48.0", -] - -[[package]] -name = "itertools" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" -dependencies = [ - "spin 0.5.2", -] - -[[package]] -name = "leb128" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" - -[[package]] -name = "libasvisor" -version = "0.1.0" -dependencies = [ - "anyhow", - "as_hostcall", - "env_logger", - "heapless", - "lazy_static", - "libloading", - "log", - "nix", - "serde", - "serde_json", - "thiserror", - "xmas-elf", -] - -[[package]] -name = "libc" -version = "0.2.158" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" - -[[package]] -name = "libloading" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161" -dependencies = [ - "cfg-if", - "windows-sys 0.48.0", -] - -[[package]] -name = "libm" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" - -[[package]] -name = "linked_list_allocator" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9afa463f5405ee81cdb9cc2baf37e08ec7e4c8209442b5d72c04cfb2cd6e6286" -dependencies = [ - "spinning_top", -] - -[[package]] -name = "linux-raw-sys" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1ad52afd8f9448cbbe722ae722849cc41f1d365e285cca386896352bc08e1a9" - -[[package]] -name = "linux-raw-sys" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" - -[[package]] -name = "lock_api" -version = "0.4.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" - -[[package]] -name = "mach2" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709" -dependencies = [ - "libc", -] - -[[package]] -name = "matchit" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" - -[[package]] -name = "memchr" -version = "2.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" - -[[package]] -name = "memfd" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" -dependencies = [ - "rustix", -] - -[[package]] -name = "memoffset" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" -dependencies = [ - "autocfg", -] - -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - -[[package]] -name = "miniz_oxide" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" -dependencies = [ - "libc", - "wasi", - "windows-sys 0.48.0", -] - -[[package]] -name = "msvisor-d" -version = "0.1.0" -dependencies = [ - "anyhow", - "axum", - "libasvisor", - "log", - "serde", - "tokio", -] - -[[package]] -name = "naked-function" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b8d5fca6ab1e6215b010aefd3b9ac5aae369dae0faea3a7f34f296cc9f719ac" -dependencies = [ - "cfg-if", - "naked-function-macro", -] - -[[package]] -name = "naked-function-macro" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b4123e70df5fe0bb370cff166ae453b9c5324a2cfc932c0f7e55498147a0475" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.96", -] - -[[package]] -name = "nix" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" -dependencies = [ - "bitflags 2.6.0", - "cfg-if", - "cfg_aliases", - "libc", -] - -[[package]] -name = "num_cpus" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -dependencies = [ - "hermit-abi", - "libc", -] - -[[package]] -name = "object" -version = "0.32.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" -dependencies = [ - "memchr", -] - -[[package]] -name = "object" -version = "0.36.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e" -dependencies = [ - "crc32fast", - "hashbrown 0.15.0", - "indexmap", - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" - -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - -[[package]] -name = "percent-encoding" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" - -[[package]] -name = "pin-project" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.96", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "postcard" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f7f0a8d620d71c457dd1d47df76bb18960378da56af4527aaa10f515eee732e" -dependencies = [ - "cobs", - "embedded-io 0.4.0", - "embedded-io 0.6.1", - "serde", -] - -[[package]] -name = "proc-macro2" -version = "1.0.93" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "psm" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa37f80ca58604976033fae9515a8a2989fc13797d953f7c04fb8fa36a11f205" -dependencies = [ - "cc", -] - -[[package]] -name = "quote" -version = "1.0.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "regalloc2" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" -dependencies = [ - "hashbrown 0.13.2", - "log", - "rustc-hash", - "slice-group-by", - "smallvec", -] - -[[package]] -name = "regex" -version = "1.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" - -[[package]] -name = "rustc-demangle" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" - -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -dependencies = [ - "semver", -] - -[[package]] -name = "rustix" -version = "0.38.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" -dependencies = [ - "bitflags 2.6.0", - "errno", - "libc", - "linux-raw-sys 0.4.14", - "windows-sys 0.52.0", -] - -[[package]] -name = "rustversion" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" - -[[package]] -name = "ryu" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" - -[[package]] -name = "sc" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "010e18bd3bfd1d45a7e666b236c78720df0d9a7698ebaa9c1c559961eb60a38b" - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "semver" -version = "1.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" - -[[package]] -name = "serde" -version = "1.0.217" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.217" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.96", -] - -[[package]] -name = "serde_json" -version = "1.0.135" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b0d7ba2887406110130a978386c4e1befb98c674b4fba677954e4db976630d9" -dependencies = [ - "itoa", - "memchr", - "ryu", - "serde", -] - -[[package]] -name = "serde_path_to_error" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4beec8bce849d58d06238cb50db2e1c417cfeafa4c63f692b15c82b7c80f8335" -dependencies = [ - "itoa", - "serde", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "sjlj" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e9b43efc387069aabdc27124a294337c7032a3cb62df0108d2578eff7f08e39" -dependencies = [ - "linux-raw-sys 0.2.2", - "naked-function", - "sc", -] - -[[package]] -name = "slice-group-by" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" - -[[package]] -name = "smallvec" -version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" -dependencies = [ - "serde", -] - -[[package]] -name = "socket2" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "socket2" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" -dependencies = [ - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" -dependencies = [ - "lock_api", -] - -[[package]] -name = "spinning_top" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b9eb1a2f4c41445a3a0ff9abc5221c5fcd28e1f13cd7c0397706f9ac938ddb0" -dependencies = [ - "lock_api", -] - -[[package]] -name = "sptr" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a" - -[[package]] -name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.96" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5d0adab1ae378d7f53bdebc67a39f1f151407ef230f0ce2883572f5d8985c80" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "sync_wrapper" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" - -[[package]] -name = "target-lexicon" -version = "0.12.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" - -[[package]] -name = "termcolor" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "thiserror" -version = "1.0.63" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.63" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.96", -] - -[[package]] -name = "thiserror-impl-no-std" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58e6318948b519ba6dc2b442a6d0b904ebfb8d411a3ad3e07843615a72249758" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "thiserror-no-std" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3ad459d94dd517257cc96add8a43190ee620011bb6e6cdc82dafd97dfafafea" -dependencies = [ - "thiserror-impl-no-std", -] - -[[package]] -name = "tokio" -version = "1.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0c014766411e834f7af5b8f4cf46257aab4036ca95e9d2c144a10f59ad6f5b9" -dependencies = [ - "backtrace", - "libc", - "mio", - "num_cpus", - "pin-project-lite", - "socket2 0.5.5", - "tokio-macros", - "windows-sys 0.48.0", -] - -[[package]] -name = "tokio-macros" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.96", -] - -[[package]] -name = "tower" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" -dependencies = [ - "futures-core", - "futures-util", - "pin-project", - "pin-project-lite", - "tokio", - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "tower-layer" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" - -[[package]] -name = "tower-service" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" - -[[package]] -name = "tracing" -version = "0.1.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" -dependencies = [ - "log", - "pin-project-lite", - "tracing-core", -] - -[[package]] -name = "tracing-core" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" -dependencies = [ - "once_cell", -] - -[[package]] -name = "try-lock" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" - -[[package]] -name = "unicode-ident" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" - -[[package]] -name = "unicode-xid" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" - -[[package]] -name = "unwinding" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee215fc0991fb587275819562685254302112d0b7c8d25e635655526c0ecdc6" -dependencies = [ - "gimli 0.26.2", - "libc", -] - -[[package]] -name = "utf8parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" - -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - -[[package]] -name = "want" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" -dependencies = [ - "try-lock", -] - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-encoder" -version = "0.209.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b4a05336882dae732ce6bd48b7e11fe597293cb72c13da4f35d7d5f8d53b2a7" -dependencies = [ - "leb128", -] - -[[package]] -name = "wasmparser" -version = "0.209.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07035cc9a9b41e62d3bb3a3815a66ab87c993c06fe1cf6b2a3f2a18499d937db" -dependencies = [ - "ahash", - "bitflags 2.6.0", - "hashbrown 0.14.5", - "indexmap", - "semver", - "serde", -] - -[[package]] -name = "wasmprinter" -version = "0.209.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceca8ae6eaa8c7c87b33c25c53bdf299f8c2a764aee1179402ff7652ef3a6859" -dependencies = [ - "anyhow", - "wasmparser", -] - -[[package]] -name = "wasmtime" -version = "22.0.0" -source = "git+https://gitee.com/tanksys/wasmtime-as-lib?branch=dev-0720#fb45fb8dde6d068abb3ae78bfab78253c9654af5" -dependencies = [ - "anyhow", - "bumpalo", - "cc", - "cfg-if", - "encoding_rs", - "hashbrown 0.14.5", - "indexmap", - "libc", - "libm", - "log", - "mach2", - "memfd", - "memoffset", - "object 0.36.5", - "once_cell", - "paste", - "postcard", - "psm", - "rustix", - "semver", - "serde", - "serde_derive", - "smallvec", - "sptr", - "target-lexicon", - "wasmparser", - "wasmtime-asm-macros", - "wasmtime-component-macro", - "wasmtime-component-util", - "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-jit-icache-coherence", - "wasmtime-slab", - "wasmtime-versioned-export-macros", - "wasmtime-winch", - "windows-sys 0.52.0", -] - -[[package]] -name = "wasmtime-asm-macros" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d697d99c341d4a9ffb72f3af7a02124d233eeb59aee010f36d88e97cca553d5e" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "wasmtime-component-macro" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b29b462b068e73b5b27fae092a27f47e5937cabf6b26be2779c978698a52feca" -dependencies = [ - "anyhow", - "proc-macro2", - "quote", - "syn 2.0.96", - "wasmtime-component-util", - "wasmtime-wit-bindgen", - "wit-parser", -] - -[[package]] -name = "wasmtime-component-util" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d2912c53d9054984b380dfbd7579f9c3681b2a73b903a56bd71a1c4f175f1e" - -[[package]] -name = "wasmtime-cranelift" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3975deafea000457ba84355c7c0fce0372937204f77026510b7b454f28a3a65" -dependencies = [ - "anyhow", - "cfg-if", - "cranelift-codegen", - "cranelift-control", - "cranelift-entity", - "cranelift-frontend", - "cranelift-native", - "cranelift-wasm", - "gimli 0.28.1", - "log", - "object 0.36.5", - "target-lexicon", - "thiserror", - "wasmparser", - "wasmtime-environ", - "wasmtime-versioned-export-macros", -] - -[[package]] -name = "wasmtime-environ" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f444e900e848b884d8a8a2949b6f5b92af642a3e663ff8fbe78731143a55be61" -dependencies = [ - "anyhow", - "cranelift-entity", - "gimli 0.28.1", - "indexmap", - "log", - "object 0.36.5", - "postcard", - "serde", - "serde_derive", - "target-lexicon", - "wasm-encoder", - "wasmparser", - "wasmprinter", - "wasmtime-component-util", - "wasmtime-types", -] - -[[package]] -name = "wasmtime-jit-icache-coherence" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5afe2f0499542f9a4bcfa1b55bfdda803b6ade4e7c93c6b99e0f39dba44b0a91" -dependencies = [ - "anyhow", - "cfg-if", - "libc", - "windows-sys 0.52.0", -] - -[[package]] -name = "wasmtime-slab" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a7de1f2bec5bbb35d532e61c85c049dc84ae671df60492f90b954ecf21169e7" - -[[package]] -name = "wasmtime-types" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "412463e9000e14cf6856be48628d2213c20c153e29ffc22b036980c892ea6964" -dependencies = [ - "cranelift-entity", - "serde", - "serde_derive", - "smallvec", - "wasmparser", -] - -[[package]] -name = "wasmtime-versioned-export-macros" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de5a9bc4f44ceeb168e9e8e3be4e0b4beb9095b468479663a9e24c667e36826f" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.96", -] - -[[package]] -name = "wasmtime-winch" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed4db238a0241df2d15f79ad17b3a37a27f2ea6cb885894d81b42ae107544466" -dependencies = [ - "anyhow", - "cranelift-codegen", - "gimli 0.28.1", - "object 0.36.5", - "target-lexicon", - "wasmparser", - "wasmtime-cranelift", - "wasmtime-environ", - "winch-codegen", -] - -[[package]] -name = "wasmtime-wit-bindgen" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc077306b38288262e5ba01d4b21532a6987416cdc0aedf04bb06c22a68fdc" -dependencies = [ - "anyhow", - "heck", - "indexmap", - "wit-parser", -] - -[[package]] -name = "wasmtime_wasi_api" -version = "0.1.0" -dependencies = [ - "as_hostcall", - "as_std", - "as_std_proc_macro", - "hashbrown 0.14.5", - "lazy_static", - "sjlj", - "spin 0.9.8", - "wasmtime", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "winch-codegen" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85c6915884e731b2db0d8cf08cb64474cb69221a161675fd3c135f91febc3daa" -dependencies = [ - "anyhow", - "cranelift-codegen", - "gimli 0.28.1", - "regalloc2", - "smallvec", - "target-lexicon", - "wasmparser", - "wasmtime-cranelift", - "wasmtime-environ", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets 0.52.0", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - -[[package]] -name = "windows-targets" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" -dependencies = [ - "windows_aarch64_gnullvm 0.52.0", - "windows_aarch64_msvc 0.52.0", - "windows_i686_gnu 0.52.0", - "windows_i686_msvc 0.52.0", - "windows_x86_64_gnu 0.52.0", - "windows_x86_64_gnullvm 0.52.0", - "windows_x86_64_msvc 0.52.0", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" - -[[package]] -name = "wit-parser" -version = "0.209.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e79b9e3c0b6bb589dec46317e645851e0db2734c44e2be5e251b03ff4a51269" -dependencies = [ - "anyhow", - "id-arena", - "indexmap", - "log", - "semver", - "serde", - "serde_derive", - "serde_json", - "unicode-xid", - "wasmparser", -] - -[[package]] -name = "xmas-elf" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42c49817e78342f7f30a181573d82ff55b88a35f86ccaf07fc64b3008f56d1c6" -dependencies = [ - "zero", -] - -[[package]] -name = "zero" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fe21bcc34ca7fe6dd56cc2cb1261ea59d6b93620215aefb5ea6032265527784" - -[[package]] -name = "zerocopy" -version = "0.7.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.7.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.96", -]