summaryrefslogtreecommitdiff
path: root/cli/ops/runtime_compiler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/ops/runtime_compiler.rs')
-rw-r--r--cli/ops/runtime_compiler.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/ops/runtime_compiler.rs b/cli/ops/runtime_compiler.rs
index 4202f6b3c..0cdc1094e 100644
--- a/cli/ops/runtime_compiler.rs
+++ b/cli/ops/runtime_compiler.rs
@@ -24,7 +24,7 @@ struct CompileArgs {
fn op_compile(
state: &ThreadSafeState,
args: Value,
- _zero_copy: Option<PinnedBuf>,
+ _zero_copy: Option<ZeroCopyBuf>,
) -> Result<JsonOp, ErrBox> {
let args: CompileArgs = serde_json::from_value(args)?;
Ok(JsonOp::Async(runtime_compile_async(
@@ -45,7 +45,7 @@ struct TranspileArgs {
fn op_transpile(
state: &ThreadSafeState,
args: Value,
- _zero_copy: Option<PinnedBuf>,
+ _zero_copy: Option<ZeroCopyBuf>,
) -> Result<JsonOp, ErrBox> {
let args: TranspileArgs = serde_json::from_value(args)?;
Ok(JsonOp::Async(runtime_transpile_async(