Closed afnanenayet closed 2 years ago
Thanks!
I'd like to understand better what wasn't working, can you provide an example of a Cargo.toml
that was giving you problems, or any other info?
Yeah sure, this is the manifest: https://github.com/afnanenayet/diffsitter/blob/07855f192e8ab9dfd84957022a53e394bf79b365/Cargo.toml
To replicate:
❯ cargo instruments -t time --release -- src/main.rs src/parse.rs
failed to parse manifest at `/Users/afnan/dev/diffsitter/Cargo.toml`
I'm running into the same problem using workspaces. Here is the top-level Cargo.toml
: https://github.com/iotaledger/bee/blob/mainnet-develop/Cargo.toml
This updates dependencies to the latest versions to fix an error with the binary being unable to parse a Cargo manifest.
This fixes an error I had where I would run
cargo instruments ...
and I would get an errorThis also fixes an error I had when trying to build locally where the linking stage would fail.