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
As the title says, the action to combine dwo files into dwp files is not configured to provide environment variables, take a look at the latest source code, the action named CcGenerateDwp is declared here LINK:
I would expect there should be an option to set env's variables for the dwp tool as well.
Which category does this issue belong to?
C++ Rules
What underlying problem are you trying to solve with this feature?
I ran into this when trying to implement debug fission functionality in the emsdk-bazel-toolchain. Here's a link to the PR discussion thread: emscripten-core/emsdk#1531 (comment)
Yes and no xD.
Yes, since Bazel is in my area of interest, such PR would allow me to expand my knowledge of bazel and implement specific programming challenges more easily/better in future.
Unfortunately: I am still a newbie to bazel, I can only work on it part of my time, I don't like java (also script version xD).
But if someone guides me, we can try.
I haven't compiled Bazel itself yet, I don't know if it's a complicated process(?).
I have the impression that it is necessary to add actions to the action_names.bzl file, and related files in java and tests.
Description of the feature request:
As the title says, the action to combine
dwo
files intodwp
files is not configured to provide environment variables, take a look at the latest source code, the action namedCcGenerateDwp
is declared here LINK:As you can see, the
env
variable is not declared for this action.The same applies to
CcGenerateIntermediateDwp
action.For comparison, I found the
CppArchive
action where the env variable is set LINK:I would expect there should be an option to set env's variables for the dwp tool as well.
Which category does this issue belong to?
C++ Rules
What underlying problem are you trying to solve with this feature?
I ran into this when trying to implement debug fission functionality in the emsdk-bazel-toolchain. Here's a link to the PR discussion thread: emscripten-core/emsdk#1531 (comment)
Which operating system are you running Bazel on?
macOS, linux and windows
What is the output of
bazel info release
?release 7.5.0, release 5.4.0, release 6.4.0, release 8.1.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?Have you found anything relevant by searching the web?
I initially asked on bazel-slack, but no response: https://bazelbuild.slack.com/archives/CGA9QFQ8H/p1739488236571719,
Then I started analyzing it in PR to emsdk: emscripten-core/emsdk#1531 (comment)
Any other information, logs, or outputs that you want to share?
I'm submitting this as a feature request, even though it looks a bit like a bug/oversight.
The text was updated successfully, but these errors were encountered: