Skip to content

build: Default MOZBUILD_STATE to the target dir#725

Merged
jschwe merged 1 commit intoservo:mainfrom
jschwe:mzbuild
Mar 24, 2026
Merged

build: Default MOZBUILD_STATE to the target dir#725
jschwe merged 1 commit intoservo:mainfrom
jschwe:mzbuild

Conversation

@jschwe
Copy link
Copy Markdown
Member

@jschwe jschwe commented Mar 24, 2026

This moves the mozbuild artifacts from ~/.mozbuild to inside the cargo target directory, which means they will be properly cleaned up by cargo clean.

Testing: Covered by cargo build still working.
Fixes: #724

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
@jschwe jschwe added this pull request to the merge queue Mar 24, 2026
Merged via the queue into servo:main with commit 97f035f Mar 24, 2026
42 checks passed
@jschwe jschwe deleted the mzbuild branch March 24, 2026 15:49
jschwe added a commit to jschwe/servo that referenced this pull request Mar 24, 2026
This mainly includes:

- servo/mozjs#717
- servo/mozjs#725

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
github-merge-queue bot pushed a commit to servo/servo that referenced this pull request Mar 24, 2026
This mainly includes:

- servo/mozjs#717
- servo/mozjs#725

Testing: Covered by existing tests.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
jschwe added a commit to jschwe/servo that referenced this pull request Mar 24, 2026
This mainly includes:

- servo/mozjs#717
- servo/mozjs#725

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
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.

consider setting MOZBUILD_STATE_PATH to inside the target directory

2 participants