diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-03-07 17:37:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 22:37:37 +0100 |
commit | b32a6f8ad20e6e4b0cc24b8256c08192b4899844 (patch) | |
tree | 76201de6fe376b658b99228c8d2ca1618181ee57 /cli/build.rs | |
parent | 0e3affcd5b932e1b1ecc37934a0625a0d4d0d62c (diff) |
refactor(core): don't use Result in ExtensionBuilder::state (#18066)
There's no point for this API to expect result. If something fails it should
result in a panic during build time to signal to embedder that setup is
wrong.
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/build.rs b/cli/build.rs index c0a22ba12..21e702aed 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -269,8 +269,6 @@ mod ts { state.put(op_crate_libs.clone()); state.put(build_libs.clone()); state.put(path_dts.clone()); - - Ok(()) }) .build(); |