Skip to content

Commit

Permalink
Add link_whole to match shim
Browse files Browse the repository at this point in the history
Summary: If rule A shims to rule B, and rule B has link_whole, then A should have link_whole. Probably. There seems to be a linking error with experimental/exception_tracer, and this might fix it.

Differential Revision: D59116447

fbshipit-source-id: 352ac3ef710a1b60432f39ed131412da7777bd3c
  • Loading branch information
Gownta authored and facebook-github-bot committed Jul 1, 2024
1 parent 3559e81 commit 0eb3544
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions folly/experimental/exception_tracer/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ cpp_library(
cpp_library(
name = "exception_counter",
headers = ["ExceptionCounterLib.h"],
link_whole = True,
exported_deps = [
"//folly/debugging/exception_tracer:exception_counter",
],
Expand All @@ -21,6 +22,7 @@ cpp_library(
cpp_library(
name = "exception_tracer",
headers = [],
link_whole = True,
exported_deps = [
"//folly/debugging/exception_tracer:exception_tracer",
],
Expand All @@ -37,6 +39,7 @@ cpp_library(
cpp_library(
name = "exception_tracer_callbacks",
headers = ["ExceptionTracerLib.h"],
link_whole = True,
exported_deps = [
"//folly/debugging/exception_tracer:exception_tracer_callbacks",
],
Expand All @@ -62,6 +65,7 @@ cpp_library(

cpp_library(
name = "smart_exception_stack_trace_hooks",
link_whole = True,
deps = [
"//folly/debugging/exception_tracer:smart_exception_stack_trace_hooks",
],
Expand Down

0 comments on commit 0eb3544

Please sign in to comment.