Skip to content

Commit

Permalink
Fix logic error in proc-macro-crate patch
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Jan 5, 2025
1 parent db5d906 commit b1c35b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ index fe46eb3..45339f3 100644

fn workspace_manifest_path(cargo_toml_manifest: &Path) -> Result<Option<PathBuf>, Error> {
+ // Skip invoking Cargo if we're building a crate packaged with cargo.
+ if !cargo_toml_manifest.with_extension(".toml.orig").exists() {
+ if cargo_toml_manifest.with_extension("toml.orig").exists() {
+ return Ok(None);
+ }
+
Expand Down

0 comments on commit b1c35b2

Please sign in to comment.