Skip to content

Commit

Permalink
Enable import-globals on rubicon only
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Jul 23, 2024
1 parent e84332a commit cbcf73b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
3 changes: 2 additions & 1 deletion test-crates/exports/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ edition = "2021"
crate-type = ["dylib"]

[dependencies]
mokio = { version = "0.1.0", path = "../mokio", features = ["export-globals"] }
mokio = { version = "0.1.0", path = "../mokio" }
rubicon = { path = "../../rubicon", features = ["export-globals"] }

[features]
mokio-timer = ["mokio/timer"]
4 changes: 2 additions & 2 deletions test-crates/mod_a/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
mokio = { version = "0.1.0", path = "../mokio", features = ["import-globals"] }
rubicon = { path = "../../rubicon" }
mokio = { version = "0.1.0", path = "../mokio" }
rubicon = { path = "../../rubicon", features = ["import-globals"] }
soprintln = { version = "3.0.0", features = ["print"] }
4 changes: 2 additions & 2 deletions test-crates/mod_b/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
mokio = { version = "0.1.0", path = "../mokio", features = ["import-globals"] }
rubicon = { path = "../../rubicon" }
mokio = { version = "0.1.0", path = "../mokio" }
rubicon = { path = "../../rubicon", features = ["import-globals"] }
soprintln = { version = "3.0.0", features = ["print"] }
2 changes: 0 additions & 2 deletions test-crates/mokio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ rubicon = { path = "../../rubicon" }
[features]
default = []
timer = []
import-globals = ["rubicon/import-globals"]
export-globals = ["rubicon/export-globals"]
1 change: 1 addition & 0 deletions test-crates/samplebin/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cbcf73b

Please sign in to comment.