cmyr / cargo-instruments

A cargo plugin to generate Xcode Instruments trace files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails to run with custom target-dir

qrnch-jan opened this issue · comments

commented

I have a customtarget-dir in ~/.cargo/config (I like to build on a ram drive to lessen the wear and tear on the persistent storage).

Running cargo instruments --example many_once yields:

      Failed failed to remove file `/Users/jan/tmp/bld/cargo/debug/examples/many_once.dSYM`

Unsetting target-dir in the global config makes it work.

I've also run into this without a custom target dir and find I just need to manually nuke the folder in question. Haven't figured out steps for a reproduction. If you do, I'd be happy to accept a patch!

commented

This seems to have been fixed sometime between when I wrote the original issue and now. :)