| 39 | } |
| 40 | |
| 41 | WasiCryptoExpect<void> Context::optionsSet(__wasi_options_t OptionsHandle, |
| 42 | std::string_view Name, |
| 43 | Span<const uint8_t> Value) noexcept { |
| 44 | return OptionsManager.get(OptionsHandle) |
| 45 | .and_then([Name, Value](auto &&Options) noexcept { |
| 46 | return Common::optionsSet(Options, Name, Value); |
| 47 | }); |
| 48 | } |
| 49 | |
| 50 | WasiCryptoExpect<void> Context::optionsSetU64(__wasi_options_t OptionsHandle, |
| 51 | std::string_view Name, |
no test coverage detected