Skip to content

Set arg0 for process.#2267

Merged
palfrey merged 2 commits into
mainfrom
no_canonical_relative
Apr 30, 2026
Merged

Set arg0 for process.#2267
palfrey merged 2 commits into
mainfrom
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
@MarcusSorealheis
Copy link
Copy Markdown
Collaborator

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

@palfrey palfrey force-pushed the no_canonical_relative branch from c76aefb to 78d10a9 Compare April 28, 2026 14:57
@chrisstaite-menlo chrisstaite-menlo force-pushed the no_canonical_relative branch 2 times, most recently from 16fa523 to 7bd2dbf Compare April 30, 2026 14:02
chrisstaite-menlo and others added 2 commits April 30, 2026 19:06
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.
@palfrey palfrey force-pushed the no_canonical_relative branch from 7bd2dbf to 0d8eb95 Compare April 30, 2026 18:06
@palfrey palfrey merged commit dbb38fd into main Apr 30, 2026
41 of 42 checks passed
@palfrey palfrey deleted the no_canonical_relative branch April 30, 2026 19:30
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.

3 participants