Skip to content

Commit 4abb41d

Browse files
committed
update windows linking test to use abi3 headers
1 parent b452c73 commit 4abb41d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/cc/current_py_cc_libs/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
16+
load("@rules_cc//cc:cc_test.bzl", "cc_test")
1517
load(":current_py_cc_libs_tests.bzl", "current_py_cc_libs_test_suite")
1618

1719
current_py_cc_libs_test_suite(name = "current_py_cc_libs_tests")
1820

19-
# buildifier: disable=native-cc
2021
cc_test(
2122
name = "python_libs_linking_test",
2223
srcs = ["python_libs_linking_test.cc"],
@@ -31,14 +32,13 @@ cc_test(
3132
# the expected Windows libraries are all present in the expected location.
3233
# Since we define the Py_LIMITED_API macro, we expect the linker to go search
3334
# for libs/python3.lib.
34-
# buildifier: disable=native-cc
3535
cc_test(
3636
name = "python_abi3_libs_linking_windows_test",
3737
srcs = ["python_libs_linking_test.cc"],
3838
defines = ["Py_LIMITED_API=0x030A0000"],
3939
target_compatible_with = ["@platforms//os:windows"],
4040
deps = [
41-
"@rules_python//python/cc:current_py_cc_headers",
41+
"@rules_python//python/cc:current_py_cc_headers_abi3",
4242
"@rules_python//python/cc:current_py_cc_libs",
4343
],
4444
)

0 commit comments

Comments
 (0)