Commit 85f3888
authored
build: Use
The `can_compile` utility writes its temporary output file to the
system's global temporary directory. This can clutter the host system
with build artifacts.
By using Cargo's `OUT_DIR`, the temporary file is written to a
directory specific to the build, ensuring that build artifacts are
contained within the project's build output and do not mess up the
host system.
Follow-up to #1497.OUT_DIR for test compilation output (#1526)1 parent 823b9e4 commit 85f3888
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
253 | 254 | | |
254 | 255 | | |
255 | 256 | | |
| 257 | + | |
| 258 | + | |
256 | 259 | | |
257 | 260 | | |
258 | 261 | | |
259 | 262 | | |
260 | 263 | | |
261 | | - | |
| 264 | + | |
262 | 265 | | |
263 | 266 | | |
264 | 267 | | |
| |||
0 commit comments