# fetch: use tmp dir inside zig-pkg/ · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/f996d28666e7d562b6a18e9f80fe31a3463456d0)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: f996d28666e7d562b6a18e9f80fe31a3463456d0

Requested commit: f996d28666e7d562b6a18e9f80fe31a3463456d0

Commit: f996d28666e7d562b6a18e9f80fe31a3463456d0

Tree: 71a93aa03b23429488dfa7396bcb914ed3cd68df

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fetch: use tmp dir inside zig-pkg/

Using the tmp dir of the local .zig-cache/ could result in
error.CrossDevice if the user chose a non-default local cache path.

closes #31148

```

## Parents

- [017228de89ef2ea4ed229c4eea62317826a909b6](https://git.cafe/gitcafe/zig/commit/017228de89ef2ea4ed229c4eea62317826a909b6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/f996d28666e7d562b6a18e9f80fe31a3463456d0?format=markdown)
