File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,18 @@ runtime.genrule(
3030 srcs = [":pybinding_types"],
3131 outs = {
3232 "aten_lib.pyi": ["aten_lib.pyi"],
33+ "core.pyi": ["core.pyi"],
3334 "_portable_lib.pyi": ["_portable_lib.pyi"],
3435 },
35- cmd = "cp $(location :pybinding_types)/* $OUT/_portable_lib.pyi && cp $(location :pybinding_types)/* $OUT/aten_lib.pyi",
36+ cmd = "cp $(location :pybinding_types)/* $OUT/_portable_lib.pyi && cp $(location :pybinding_types)/* $OUT/aten_lib.pyi && cp $(location :pybinding_types)/* $OUT/core.pyi ",
3637 visibility = ["//executorch/extension/pybindings/..."],
3738)
3839
3940executorch_pybindings(
4041 compiler_flags = ["-std=c++17"],
4142 cppdeps = PORTABLE_MODULE_DEPS,
4243 python_module_name = "core",
44+ types = ["//executorch/extension/pybindings:pybindings_types_gen[core.pyi]"],
4345 visibility = ["PUBLIC"],
4446)
4547
You can’t perform that action at this time.
0 commit comments