Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When running `crossgen` on a directory with a missing `Cargo.toml` it would panic with an error message. Debugging what happend, I've found it failed to find a `Cargo.toml` file, as it don't exist. To my surprise, when I've cloned the repo and tried to reproduce using `cargo run -- ~/path/to/my-dir`, there was no panic! This happened because the `Cargo.toml` was found on `crossgen` repo, not on my targe repo, as expected. This commit changes the location of the manifest file to use the directory parsed from the arguments. Signed-off-by: Bruno Tavares <[email protected]>
- Loading branch information