Skip to content

Commit

Permalink
add debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
piotmag769 committed Oct 23, 2024
1 parent eccecf0 commit 81224a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/cairo-lang-compiler/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ fn get_crate_id_and_settings<'a>(
// It has to be done due to how `CrateId::core` works.
let discriminator =
if name == CORELIB_CRATE_NAME { None } else { Some(crate_identifier.clone().into()) };

println!("{crate_settings:#?}\n {name:?}\n {discriminator:?}\n {crate_identifier:?}\n");

let crate_id = CrateLongId::Real { name, discriminator }.intern(db);

(crate_id, crate_settings)
}

0 comments on commit 81224a5

Please sign in to comment.