load("//bazel/rules/risc0:defs.bzl", "risc0_cc_method") load("//bazel/rules/cc:defs.bzl", "cc_gtest") risc0_cc_method( name = "test_fail", srcs = ["test_fail.cpp"], limit = 5, deps = ["//risc0/zkvm/sdk/cpp/guest"], ) risc0_cc_method( name = "test_mem", srcs = ["test_mem.cpp"], limit = 5, deps = ["//risc0/zkvm/sdk/cpp/guest"], ) risc0_cc_method( name = "test_memcpy", srcs = ["test_memcpy.cpp"], limit = 5, deps = ["//risc0/zkvm/sdk/cpp/guest"], ) risc0_cc_method( name = "test_sha", srcs = ["test_sha.cpp"], limit = 5, deps = ["//risc0/zkvm/sdk/cpp/guest"], ) cc_gtest( name = "test", srcs = ["test.cpp"], data = [ ":test_fail", ":test_fail.id", ":test_mem", ":test_mem.id", ":test_memcpy", ":test_memcpy.id", ":test_sha", ":test_sha.id", "//risc0/zkvm/sdk/rust/methods:test_fail", "//risc0/zkvm/sdk/rust/methods:test_fail.id", "//risc0/zkvm/sdk/rust/methods:test_mem", "//risc0/zkvm/sdk/rust/methods:test_mem.id", "//risc0/zkvm/sdk/rust/methods:test_sha", "//risc0/zkvm/sdk/rust/methods:test_sha.id", "//risc0/zkvm/sdk/rust/methods:test_sha_accel", "//risc0/zkvm/sdk/rust/methods:test_sha_accel.id", ], tags = ["exclusive"], deps = ["//risc0/zkvm/sdk/cpp/host"], )