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" )
1517load (":current_py_cc_libs_tests.bzl" , "current_py_cc_libs_test_suite" )
1618
1719current_py_cc_libs_test_suite (name = "current_py_cc_libs_tests" )
1820
19- # buildifier: disable=native-cc
2021cc_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
3535cc_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