We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79f7ef7 commit 3c1b327Copy full SHA for 3c1b327
src/build/deps.rs
@@ -86,8 +86,8 @@ fn get_dep_modules(
86
return false;
87
}
88
89
- // If the module exists, check if it's in the same package (always allowed)
90
if let Some(dep_module) = build_state.modules.get(dep) {
+ // If the module exists, check if it's in the same package (always allowed)
91
if dep_module.package_name == package.name {
92
return true;
93
@@ -96,7 +96,7 @@ fn get_dep_modules(
96
return allowed_dependencies.contains(&dep_module.package_name);
97
98
99
- false
+ true
100
})
101
.collect::<AHashSet<String>>();
102
0 commit comments