| /wasmtime-44.0.1/crates/environ/src/graphs/ |
| H A D | scc.rs | 40 components: PrimaryMap<Scc, Range<u32>>, field 174 components, in new() 181 self.components.len() in len() 196 self.components in iter() 206 self.components.keys() in keys() 215 self.components in values() 222 let range = self.components[component].clone(); in nodes() 459 fn components(graph: &Graph) -> Vec<Vec<u32>> { in components() function 461 components in components() 470 assert!(components(&graph).is_empty()); in test_empty() [all …]
|
| /wasmtime-44.0.1/crates/misc/component-async-tests/tests/scenario/ |
| H A D | util.rs | 69 fn cwasm_name(components: &[&str]) -> Result<String> { in make_component() 70 if components.is_empty() { in make_component() 73 let names = components in make_component() 101 for component in components { in make_component() 116 Some(Path::new(cwasm_dir).join(cwasm_name(components)?)) in make_component() 136 let compiled = compile(engine, components).await?; in make_component() 150 .entry(components.iter().map(|&s| s.to_owned()).collect()) in make_component() 158 let component = Arc::new(load(engine, components).await?); in make_component() 167 pub async fn test_run(components: &[&str]) -> Result<()> { in test_run() 168 test_run_with_count(components, 3).await in test_run() [all …]
|
| H A D | borrowing.rs | 65 pub async fn test_run_bool(components: &[&str], v: bool) -> Result<()> { in test_run_bool() 75 let component = make_component(&engine, components).await?; in test_run_bool()
|
| H A D | post_return.rs | 51 async fn test_yield_post_return(components: &[&str]) -> Result<()> { in test_yield_post_return() 54 let component = make_component(&engine, components).await?; in test_yield_post_return()
|
| H A D | round_trip_direct.rs | 27 components: &[&str], in test_round_trip_direct() 44 let component = make_component(&engine, components).await?; in test_round_trip_direct()
|
| H A D | round_trip_many.rs | 193 components: &[&str], in test_round_trip_many() 211 let component = make_component(&engine, components).await?; in test_round_trip_many()
|
| H A D | round_trip.rs | 342 components: &[&str], in test_round_trip() 358 let component = make_component(&engine, components).await?; in test_round_trip()
|
| /wasmtime-44.0.1/crates/wasmtime/src/compile/ |
| H A D | stratify.rs | 99 let components = StronglyConnectedComponents::new(call_graph); in new() localVariable 100 let evaporation = components.evaporation(call_graph); in new() 106 let mut unfulfilled_deps_count = SecondaryMap::<Scc, u32>::with_capacity(components.len()); in new() 107 for to_component in components.keys() { in new() 128 let mut current_layer: Vec<Scc> = components in new() 156 .flat_map(|scc| components.nodes(scc).iter().copied()), in new()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | store.rs | 264 let ret = self.components.instances.push(Some(data)); in push_component_instance() 270 self.components.instances[id].as_ref().unwrap().get() in component_instance() 277 self.components.instances[id].as_mut().unwrap().get_mut() in component_instance_mut() 283 self.store_data().components.trapped in trapped() 287 self.store_data_mut().components.trapped = true; in set_trapped() 291 &self.store_data().components in component_data() 295 &mut self.store_data_mut().components in component_data_mut()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/store/ |
| H A D | data.rs | 20 pub(crate) components: crate::component::ComponentStoreData, field 30 components: crate::component::ComponentStoreData::new(engine), in new() 47 self.components.decrement_allocator_resources(allocator); in decrement_allocator_resources()
|
| /wasmtime-44.0.1/crates/environ/src/component/translate/ |
| H A D | inline.rs | 214 components: PrimaryMap<ComponentIndex, ComponentDef<'a>>, field 236 components: PrimaryMap<ComponentUpvarIndex, ComponentDef<'a>>, field 1251 frame.components.push(ComponentDef { in initializer() 1259 components: vars in initializer() 1260 .components in initializer() 1421 frame.components.push(frame.closed_over_component(idx)); in initializer() 1434 frame.components.push(frame.components[*i].clone()); in initializer() 1757 components: Default::default(), in new() 1792 self.components.push(i); in push_item() 1826 ClosedOverComponent::Local(i) => self.components[i].clone(), in closed_over_component() [all …]
|
| /wasmtime-44.0.1/.github/actions/build-adapter-provider/ |
| H A D | action.yml | 19 - name: Install required Rust components
|
| /wasmtime-44.0.1/docs/ |
| H A D | cli-options.md | 49 WebAssembly modules or components can behave like a CLI program which means 55 string, or the `_start` export, is invoked. For WebAssembly components this 58 For both core modules and components, CLI arguments are passed via WASI. Core 59 modules receive arguments via WASIp1 APIs and components receive arguments via 112 model](https://component-model.bytecodealliance.org/design/components.html). The 127 (when calling exported functions of Wasm components) helps to distinguish
|
| H A D | stability-tiers.md | 377 other components/features. Some examples of additions to Wasmtime which would 404 * New components in Wasmtime must have a clearly identified owner who is willing 411 fuzzing, or verification. As a result components classified as Tier 3 are 422 This tier is meant to encompass features and components of Wasmtime which are 453 Tier 2 components. For example if Cranelift's interfaces change then the 465 * Major changes otherwise requiring an RFC that affect Tier 2 components are 467 changes to Tier 2 components themselves do not require an RFC, however.
|
| H A D | introduction.md | 18 interfaces via which components can communicate with each other. WASI
|
| H A D | stability-wasm-proposals.md | 38 [^2]: Various shapes of components are fuzzed but full-on fuzzing along the 39 lines of `wasm-smith` are not implemented for components.
|
| H A D | wasip2-plugins.md | 5 The plugins are WebAssembly components. 269 documents how to generate WebAssembly components from various programming languages.
|
| /wasmtime-44.0.1/crates/wiggle/test-helpers/ |
| H A D | Cargo.toml | 8 description = "Reusable testing components for wiggle code generator. Only intended to be used by t…
|
| /wasmtime-44.0.1/crates/wizer/ |
| H A D | Cargo.toml | 66 # Enable support for wizening components.
|
| /wasmtime-44.0.1/tests/misc_testsuite/component-model/ |
| H A D | string-transcode-invalid.wast | 55 ;; Wire the components together and run.
|
| /wasmtime-44.0.1/crates/wiggle/ |
| H A D | Cargo.toml | 8 description = "Runtime components of wiggle code generator"
|
| /wasmtime-44.0.1/ci/ |
| H A D | vendor-wit.sh | 30 tar xzf $tag.tar.gz --strip-components=1 -C $cached_extracted_dir
|
| /wasmtime-44.0.1/tests/disas/component-model/ |
| H A D | direct-adapter-calls.wat | 6 ;; The following component links two sub-components together and each are only
|
| /wasmtime-44.0.1/crates/wasi-preview1-component-adapter/provider/ |
| H A D | README.md | 64 …iew2 is not yet integrated into language toolchains. However, Preview1 components (which *can* be …
|
| /wasmtime-44.0.1/tests/misc_testsuite/component-model/async/ |
| H A D | futures-must-write.wast | 3 ;; This test contains two components $C and $D that test that a trap occurs
|