-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arguments with spaces passed to the program incorrectly #17
Comments
are you trying to pass arguments through to the target? I think the syntax is |
Yes. And no, |
Okay I'm probably not going to have time to investigate this for a while, but if you're motivated I would certainly accept a patch. |
After some investigation I see cargo-instruments is simply passing the arguments to instruments and it's the latter that is misbehaving as can be reproduced with instruments -t "Time Profiler" ./target/debug/main "space here" Not sure there's anything one can do other than complaining to Apple. |
yea you can file a radar but I wouldn't expect anything to come of it. Best case scenario is likely that they end up using more Rust and end up using this utility and someone internal hits this bug 😆. |
Given the following code
profiling it with
cargo instruments "space here"
completes in few seconds as the single argument appears to get split and passed as two arguments "space" and "here" separately.The text was updated successfully, but these errors were encountered: