You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think having this example here vs in `rules_rust` will be more visible
for consumers of `rules_foreign_cc`. `rules_rust` should otherwise try
to demonstrate simple examples or uses of `rules_cc` and leave the
complexity of foreign_cc interactions to this repo.
# The toolchain supplies a value of $(CMAKE) which is an execroot-relative path, so we need to prefix it with $${pwd}/ because build scripts don't typically run in the execroot unlike most bazel rules, for improved compatibility with Cargo.
157
+
"CMAKE": "$${pwd}/$(CMAKE)",
158
+
},
159
+
# Setting build_script_toolchains makes makefile variable substitution work so that we can reference $(CNAME) in attributes.
0 commit comments