fix cpp hide symbols cause ut failure and compile error on mac (#26438)

This commit is contained in:
Larry 2022-07-12 11:00:17 +08:00 committed by GitHub
parent 191921f4ec
commit 009c65ecb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ cc_binary(
copts = COPTS,
linkopts = select({
"@bazel_tools//src/conditions:darwin": [
"-Wl,-exported_symbols_list,$(location :symbols/ray_api_exported_symbols_mac.lds)",
#TODO(larry): Hide the symbols when we make it work on mac.
],
"@bazel_tools//src/conditions:windows": [
#TODO(larry): Hide the symbols when we make it work on Windows.