Skip to content

Remove create_dirs_for_build#491

Merged
taiki-e merged 1 commit into
mainfrom
clean
May 9, 2026
Merged

Remove create_dirs_for_build#491
taiki-e merged 1 commit into
mainfrom
clean

Conversation

@taiki-e
Copy link
Copy Markdown
Owner

@taiki-e taiki-e commented May 9, 2026

Since rust-lang/cargo#16712, it seems that cargo requires that the target directory be one that cargo have created.

warning: process didn't exit successfully: `/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo clean --target-dir /tmp/.tmpVKxu0N/target/llvm-cov-target --package merge` (exit status: 101)
--- stderr
error: cannot clean `/tmp/.tmpVKxu0N/target/llvm-cov-target`: missing or invalid `CACHEDIR.TAG` file
  |
  = note: cleaning has been aborted to prevent accidental deletion of unrelated files

```
warning: process didn't exit successfully: `/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo clean --target-dir /tmp/.tmpVKxu0N/target/llvm-cov-target --package merge` (exit status: 101)
--- stderr
error: cannot clean `/tmp/.tmpVKxu0N/target/llvm-cov-target`: missing or invalid `CACHEDIR.TAG` file
  |
  = note: cleaning has been aborted to prevent accidental deletion of unrelated files
```
@taiki-e taiki-e merged commit 657e359 into main May 9, 2026
53 checks passed
@taiki-e taiki-e deleted the clean branch May 9, 2026 05:40
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.

1 participant