Skip to content

Set arg0 for process.#2267

Open
chrisstaite-menlo wants to merge 2 commits intomainfrom
no_canonical_relative
Open

Set arg0 for process.#2267
chrisstaite-menlo wants to merge 2 commits intomainfrom
no_canonical_relative

Conversation

@chrisstaite-menlo
Copy link
Copy Markdown
Collaborator

@chrisstaite-menlo chrisstaite-menlo commented Apr 7, 2026

Description

In #2237 the process path was canoncialised to work around the Rust stdlib instability when using current_dir. However, this breaks RBE where the program path changes the compiler behaviour.

Update the builder to ensure that the arg0 remains relative even when the process path is resolved.

Type of change

Please delete options that aren't relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

In the process of testing.

Checklist

  • Updated documentation if needed
  • Tests added/amended
  • bazel test //... passes locally
  • PR is contained in a single commit, using git amend see some docs

This change is Reviewable

@chrisstaite-menlo chrisstaite-menlo force-pushed the no_canonical_relative branch 2 times, most recently from fd6bf8b to 7cf972f Compare April 7, 2026 09:02
In #2237 the process path was canoncialised to work around the Rust stdlib instability when using current_dir.  However, this breaks RBE where the program path changes the compiler behaviour.

Update the builder to ensure that the arg0 remains relative even when the process path is resolved.
@MarcusSorealheis
Copy link
Copy Markdown
Collaborator

Once this is worked out, we should cut v1.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants