Skip to content

Commit a9cec9a

Browse files
authored
Remove C Python headers from pyo3 build actions (bazelbuild#4095)
bazelbuild#4024 introduced a warning for targets adding CC deps in `deps`. The warning calls out putting this in `link_deps` or `cc_deps`. The latter makes more sense here... but doesn't actually exist. However, I don't think this matters anyways, as I don't think it's needed (this works with an internal codebase).
1 parent fb01b69 commit a9cec9a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

extensions/pyo3/private/pyo3.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ def pyo3_extension(
333333
data = data,
334334
deps = [
335335
Label("//private:current_rust_pyo3_toolchain"),
336-
Label("@rules_python//python/cc:current_py_cc_headers"),
337336
] + deps,
338337
edition = edition,
339338
proc_macro_deps = proc_macro_deps,

0 commit comments

Comments
 (0)