Home
last modified time | relevance | path

Searched refs:optional (Results 1 – 25 of 88) sorted by relevance

1234

/wasmtime-44.0.1/crates/test-util/
H A DCargo.toml16 serde = { workspace = true, optional = true }
17 serde_derive = { workspace = true, optional = true }
18 toml = { workspace = true, optional = true }
19 arbitrary = { workspace = true, optional = true }
20 quote = { workspace = true, optional = true }
21 proc-macro2 = { workspace = true, optional = true }
22 wasmtime-component-util = { workspace = true, optional = true }
24 target-lexicon = { workspace = true, optional = true }
25 env_logger = { workspace = true, optional = true }
26 wasmtime = { workspace = true, optional = true }
[all …]
/wasmtime-44.0.1/crates/wasi-tls/
H A DCargo.toml35 tracing = { workspace = true, optional = true }
37 tokio-rustls = { workspace = true, optional = true }
38 rustls = { workspace = true, optional = true }
39 webpki-roots = { workspace = true, optional = true }
40 tokio-native-tls = { workspace = true, optional = true }
41 native-tls = { workspace = true, optional = true }
42 tokio-openssl = { workspace = true, optional = true }
43 openssl = { workspace = true, optional = true }
/wasmtime-44.0.1/crates/c-api/
H A DCargo.toml23 env_logger = { workspace = true, optional = true }
30 wat = { workspace = true, optional = true }
33 cap-std = { workspace = true, optional = true }
34 tokio = { workspace = true, optional = true, features = ["fs"] }
35 wasmtime-wasi = { workspace = true, optional = true, features = ["p1"] }
36 wasmtime-wasi-http = { workspace = true, optional = true, features = ["p2", "default-send-request"]…
37 wasmtime-wasi-io = { workspace = true, optional = true, features = ["std"] }
38 async-trait = { workspace = true, optional = true }
39 bytes = { workspace = true, optional = true }
42 futures = { workspace = true, optional = true }
/wasmtime-44.0.1/cranelift/umbrella/
H A DCargo.toml17 cranelift-frontend = { workspace = true, optional = true }
18 cranelift-interpreter = { workspace = true, optional = true }
19 cranelift-jit = { workspace = true, optional = true }
20 cranelift-module = { workspace = true, optional = true }
21 cranelift-native = { workspace = true, optional = true }
22 cranelift-object = { workspace = true, optional = true }
/wasmtime-44.0.1/crates/wasmtime/
H A DCargo.toml43 wat = { workspace = true, optional = true }
49 rayon = { workspace = true, optional = true }
55 gimli = { workspace = true, optional = true }
57 semver = { workspace = true, optional = true }
61 bytes = { workspace = true, optional = true }
65 optional = true
80 ittapi = { workspace = true, optional = true }
82 ittapi = { workspace = true, optional = true }
87 memfd = { workspace = true, optional = true }
90 mach2 = { workspace = true, optional = true }
[all …]
/wasmtime-44.0.1/crates/c-api/include/wasmtime/component/types/
H A Dval.hh45 std::optional<std::pair<std::string_view, ValType>>
61 std::optional<ValType> types_nth(size_t nth) const;
76 std::optional<std::pair<std::string_view, std::optional<ValType>>>
120 std::optional<ValType> ok() const;
123 std::optional<ValType> err() const;
168 std::optional<ValType> ty() const;
178 std::optional<ValType> ty() const;
617 inline std::optional<std::pair<std::string_view, std::optional<ValType>>>
639 inline std::optional<ValType> ResultType::ok() const { in ok()
655 inline std::optional<ValType> FutureType::ty() const { in ty()
[all …]
H A Dcomponent.hh38 std::optional<ComponentItem> import_get(const Engine &engine,
42 std::optional<std::pair<std::string_view, ComponentItem>>
51 std::optional<ComponentItem> export_get(const Engine &engine,
55 std::optional<std::pair<std::string_view, ComponentItem>>
181 inline std::optional<wasmtime::component::ComponentItem>
193 inline std::optional<
209 inline std::optional<wasmtime::component::ComponentItem>
221 inline std::optional<
H A Dinstance.hh37 std::optional<ComponentItem> export_get(const Engine &engine,
41 std::optional<std::pair<std::string_view, ComponentItem>>
50 inline std::optional<wasmtime::component::ComponentItem>
62 inline std::optional<
H A Dmodule.hh38 std::optional<ImportType> import_nth(const Engine &engine, size_t nth) const { in import_nth()
51 std::optional<ExportType> export_nth(const Engine &engine, size_t nth) const { in export_nth()
H A Dfunc.hh33 std::optional<std::pair<std::string_view, ValType>>
47 std::optional<ValType> result() const { in result()
/wasmtime-44.0.1/crates/wasi-common/
H A DCargo.toml30 wasmtime = { workspace = true, optional = true, features = ['runtime', 'component-model'] }
32 cap-fs-ext = { workspace = true, optional = true }
33 cap-time-ext = { workspace = true, optional = true }
34 fs-set-times = { workspace = true, optional = true }
35 system-interface = { workspace = true, features = ["cap_std_impls"], optional = true }
36 io-lifetimes = { workspace = true, optional = true }
38 … features = [ "rt", "fs", "time", "io-util", "net", "io-std", "rt-multi-thread"], optional = true }
41 libc = { workspace = true, optional = true }
/wasmtime-44.0.1/crates/c-api/include/wasmtime/
H A Dval.hh169 std::optional<uint32_t> u31(Store::Context cx) const { in u31()
177 std::optional<int32_t> i31(Store::Context cx) const { in i31()
199 inline std::optional<EqRef> as_eqref(Store::Context cx) const;
202 inline std::optional<StructRef> as_struct(Store::Context cx) const;
205 inline std::optional<ArrayRef> as_array(Store::Context cx) const;
277 Val(std::optional<Func> func);
281 Val(std::optional<ExternRef> ptr) : val{} { in Val()
291 Val(std::optional<AnyRef> ptr) : val{} { in Val()
411 std::optional<ExternRef> externref() const { in externref()
428 std::optional<AnyRef> anyref() const { in anyref()
[all …]
H A Dfunc.hh39 std::optional<Extern> get_export(std::string_view name);
86 template <> struct WasmType<std::optional<ExternRef>> {
90 std::optional<ExternRef> &&ref) { in store()
98 const std::optional<ExternRef> &ref) { in store()
105 static std::optional<ExternRef> load(Store::Context cx, in load()
636 inline Val::Val(std::optional<Func> func) : val{} { in Val()
645 inline Val::Val(Func func) : Val(std::optional(func)) {} in Val()
647 inline Val::Val(AnyRef ptr) : Val(std::optional(ptr)) {} in Val()
649 inline std::optional<Func> Val::funcref() const { in funcref()
660 template <> struct detail::WasmType<std::optional<Func>> {
[all …]
/wasmtime-44.0.1/crates/environ/
H A DCargo.toml23 cpp_demangle = { version = "0.4.3", default-features = false, features = ['alloc'], optional = true…
35 rustc-demangle = { version = "0.1.16", default-features = false, optional = true }
37 wasm-encoder = { workspace = true, optional = true }
38 wasmprinter = { workspace = true, optional = true }
39 wasmtime-component-util = { workspace = true, optional = true }
41 semver = { workspace = true, optional = true, features = ['serde'] }
/wasmtime-44.0.1/cranelift/codegen/
H A DCargo.toml24 anyhow = { workspace = true, optional = true, features = ['std'] }
26 capstone = { workspace = true, optional = true }
36 serde = { workspace = true, optional = true }
37 serde_derive = { workspace = true, optional = true }
38 pulley-interpreter = { workspace = true, optional = true }
39 postcard = { workspace = true, optional = true }
40 gimli = { workspace = true, features = ["write"], optional = true }
43 souper-ir = { version = "2.1.0", optional = true }
44 sha2 = { version = "0.10.2", optional = true }
/wasmtime-44.0.1/cranelift/bitset/
H A DCargo.toml16 arbitrary = { workspace = true, optional = true }
17 serde = { workspace = true, optional = true }
18 serde_derive = { workspace = true, optional = true }
/wasmtime-44.0.1/crates/c-api/tests/
H A Dval.cc37 val = std::optional<ExternRef>(std::nullopt); in TEST()
41 val = std::optional<ExternRef>(ExternRef(store, 5)); in TEST()
49 val = std::optional<AnyRef>(std::nullopt); in TEST()
53 val = std::optional<AnyRef>(AnyRef::i31(store, 5)); in TEST()
63 val = std::optional<Func>(std::nullopt); in TEST()
72 val = std::optional<Func>(func); in TEST()
H A Dfunc.cc95 results[1] = std::optional<ExternRef>(std::nullopt); in TEST()
101 std::tuple<std::optional<ExternRef>, std::optional<ExternRef>>; in TEST()
128 results[1] = std::optional<Func>(std::nullopt); in TEST()
132 using FuncPair = std::tuple<std::optional<Func>, std::optional<Func>>; in TEST()
204 f = Func::wrap(store, []() { return std::optional<Func>(std::nullopt); }); in TEST()
207 []() { return std::optional<ExternRef>(std::nullopt); }); in TEST()
231 f = Func::wrap(store, [](std::optional<Func> a) {}); in TEST()
233 f = Func::wrap(store, [](std::optional<ExternRef> a) {}); in TEST()
/wasmtime-44.0.1/
H A DCargo.toml52 wasmtime-wast = { workspace = true, optional = true }
68 listenfd = { version = "1.0.0", optional = true }
69 wat = { workspace = true, optional = true }
76 tempfile = { workspace = true, optional = true }
77 object = { workspace = true, optional = true }
79 capstone = { workspace = true, optional = true }
80 termcolor = { workspace = true, optional = true }
81 gimli = { workspace = true, optional = true }
89 hyper = { workspace = true, optional = true }
90 http = { workspace = true, optional = true }
[all …]
/wasmtime-44.0.1/cranelift/module/
H A DCargo.toml20 hashbrown = { workspace = true, optional = true }
22 serde = { workspace = true, optional = true }
23 serde_derive = { workspace = true, optional = true }
/wasmtime-44.0.1/crates/wasi-http/
H A DCargo.toml34 tokio-util = { workspace = true, optional = true }
42 tokio-rustls = { workspace = true, optional = true }
43 rustls = { workspace = true, optional = true }
44 webpki-roots = { workspace = true, optional = true }
/wasmtime-44.0.1/pulley/
H A DCargo.toml16 arbitrary = { workspace = true, optional = true }
19 wasmtime-core = { workspace = true, optional = true }
20 anyhow = { workspace = true, optional = true }
/wasmtime-44.0.1/crates/wasi-nn/
H A DCargo.toml35 ], optional = true }
36 tch = { version = "0.17.0", default-features = false, optional = true}
41 ], optional = true }
52 optional = true
/wasmtime-44.0.1/crates/cli-flags/
H A DCargo.toml17 file-per-thread-logger = { workspace = true, optional = true }
18 tracing-subscriber = { workspace = true, optional = true }
19 rayon = { version = "1.5.0", optional = true }
/wasmtime-44.0.1/cranelift/assembler-x64/
H A DCargo.toml10 arbitrary = { workspace = true, features = ["derive"], optional = true }
11 capstone = { workspace = true, optional = true }

1234