diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-11-25 06:47:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-25 20:17:21 +0530 |
commit | 8fc62f93bfeb63edf2ee875ee5d4f8b63728f838 (patch) | |
tree | e97e0931ac40bc4454a17b7b6717ed522e2fac9a /ops/tests/compile_fail/unsupported.rs | |
parent | d80af8324d61ce6fa54f6c9c4a2658c18b9c2428 (diff) |
fix(ops): circular dependency in deno_ops test (#16809)
Diffstat (limited to 'ops/tests/compile_fail/unsupported.rs')
-rw-r--r-- | ops/tests/compile_fail/unsupported.rs | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/ops/tests/compile_fail/unsupported.rs b/ops/tests/compile_fail/unsupported.rs deleted file mode 100644 index 5856d72ef..000000000 --- a/ops/tests/compile_fail/unsupported.rs +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2019-2020 the Deno authors. All rights reserved. MIT license. - -use deno_ops::op; - -#[op(fast)] -fn op_u8_arg(a: u8, b: u8) { - // -} - -#[op(fast)] -fn op_u16_arg(a: u16, b: u16) { - // -} - -use deno_core::v8::fast_api::FastApiCallbackOptions; - -#[op(fast)] -fn op_callback_options(options: &mut FastApiCallbackOptions) { - // fast callback options must be an Option. -} - -#[op(fast)] -async fn op_async_fn(a: i32, b: i32) -> i32 { - a + b -} - -fn main() { - // pass -} |