summaryrefslogtreecommitdiff
path: root/cli/build.rs
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2022-03-16 00:33:46 +0100
committerGitHub <noreply@github.com>2022-03-16 00:33:46 +0100
commitbd481bf095f920a419ea55543f911e087f98f36f (patch)
treeb4f97aabfd3734770c5367b1253511a02d86af87 /cli/build.rs
parent672f66dde1f7ec87282d37e10cac2cdd36e5f181 (diff)
feat(ops): optional OpState (#13954)
Diffstat (limited to 'cli/build.rs')
-rw-r--r--cli/build.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/build.rs b/cli/build.rs
index d118dd5b9..98dea9b46 100644
--- a/cli/build.rs
+++ b/cli/build.rs
@@ -202,12 +202,12 @@ fn create_compiler_snapshot(
}
#[op]
- fn op_cwd(_state: &mut OpState, _args: Value) -> Result<Value, AnyError> {
+ fn op_cwd(_args: Value) -> Result<Value, AnyError> {
Ok(json!("cache:///"))
}
#[op]
- fn op_exists(_state: &mut OpState, _args: Value) -> Result<Value, AnyError> {
+ fn op_exists(_args: Value) -> Result<Value, AnyError> {
Ok(json!(false))
}