load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load("@fbcode_macros//build_defs:cpp_library.bzl", "cpp_library")
load("../../defs.bzl", "folly_xplat_cxx_library")

oncall("fbcode_entropy_wardens_folly")

non_fbcode_target(
    _kind = folly_xplat_cxx_library,
    name = "immortal_exception_storage",
    raw_headers = ["immortal_exception_storage.h"],
    exported_deps = [
        "//xplat/folly/lang:exception",
        "//xplat/folly/result:rich_error_fwd",
    ],
)

fbcode_target(
    _kind = cpp_library,
    name = "immortal_exception_storage",
    headers = ["immortal_exception_storage.h"],
    exported_deps = [
        "//folly/lang:exception",
        "//folly/result:rich_error_fwd",
    ],
)
