`Path::with_extension` has a nice footgun when the original path doesn't contain an extension: Anything after the last dot gets removed. |
||
|---|---|---|
| .. | ||
| archive.rs | ||
| lto.rs | ||
| owned_target_machine.rs | ||
| profiling.rs | ||
| write.rs | ||
`Path::with_extension` has a nice footgun when the original path doesn't contain an extension: Anything after the last dot gets removed. |
||
|---|---|---|
| .. | ||
| archive.rs | ||
| lto.rs | ||
| owned_target_machine.rs | ||
| profiling.rs | ||
| write.rs | ||