summaryrefslogtreecommitdiff
path: root/runtime/build.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2021-10-13 18:04:44 +0100
committerGitHub <noreply@github.com>2021-10-13 13:04:44 -0400
commit7a22df9b7641274b2a83ce53845215d17cfda2c8 (patch)
tree6cf99f74682635a0128c5cf79f5f7d3ecfbc85f1 /runtime/build.rs
parent43a63530acb16e57cbb190eacedbd097c536a775 (diff)
fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297)
Diffstat (limited to 'runtime/build.rs')
-rw-r--r--runtime/build.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/build.rs b/runtime/build.rs
index 920aafc9f..b1d4fa8cb 100644
--- a/runtime/build.rs
+++ b/runtime/build.rs
@@ -83,7 +83,10 @@ mod not_docs {
}
impl deno_ffi::FfiPermissions for Permissions {
- fn check(&mut self, _path: &str) -> Result<(), deno_core::error::AnyError> {
+ fn check(
+ &mut self,
+ _path: &Path,
+ ) -> Result<(), deno_core::error::AnyError> {
unreachable!("snapshotting!")
}
}