Skip to content

Commit

Permalink
wip: fixing cairo compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Dec 11, 2024
1 parent 1deee22 commit 318571a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bin/sozo/src/commands/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ pub fn crates_config_for_compilation_unit(unit: &CairoCompilationUnit) -> AllCra
.contains(&SmolStr::new_inline("negative_impls")),
coupons: experimental_features.contains(&SmolStr::new_inline("coupons")),
associated_item_constraints: experimental_features
.contains(&SmolStr::new_inline("associated_item_constraints")),
.contains(&SmolStr::new_static("associated_item_constraints")),

Check warning on line 337 in bin/sozo/src/commands/test.rs

View check run for this annotation

Codecov / codecov/patch

bin/sozo/src/commands/test.rs#L336-L337

Added lines #L336 - L337 were not covered by tests
},
cfg_set: component.cfg_set.clone(),
},
Expand Down
2 changes: 1 addition & 1 deletion crates/benches/contracts/src/models/character.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct Stats {
#[derive(Introspect, Copy, Drop, Serde)]
enum Weapon {
DualWield: (Sword, Sword),
Fists: (Sword, Sword), // Introspect requires same arms
Fists: (Sword, Sword),
}

#[derive(Introspect, Copy, Drop, Serde)]
Expand Down
4 changes: 2 additions & 2 deletions crates/dojo/core-cairo-test/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ version = 1

[[package]]
name = "dojo"
version = "1.0.0-rc.0"
version = "1.0.5"
dependencies = [
"dojo_plugin",
]

[[package]]
name = "dojo_cairo_test"
version = "1.0.0-rc.0"
version = "1.0.5"
dependencies = [
"dojo",
]
Expand Down
2 changes: 1 addition & 1 deletion crates/dojo/core-cairo-test/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cairo-version = "=2.9.1"
edition = "2024_07"
description = "Testing library for Dojo using Cairo test runner."
name = "dojo_cairo_test"
version = "1.0.0-rc.0"
version = "1.0.5"

[dependencies]
starknet = "=2.9.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ pub struct Stats {
#[derive(IntrospectPacked, Copy, Drop, Serde)]
pub enum Weapon {
DualWield: (Sword, Sword),
Fists: (Sword, Sword) // Introspect requires same arms
Fists: (Sword, Sword)
}

#[starknet::interface]
Expand Down

0 comments on commit 318571a

Please sign in to comment.