mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 07:17:50 +03:00
remove im dependency where not needed
This commit is contained in:
parent
d4a741d483
commit
5632e3159d
18
Cargo.lock
generated
18
Cargo.lock
generated
@ -3122,8 +3122,6 @@ name = "roc_build"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"bumpalo",
|
||||
"im",
|
||||
"im-rc",
|
||||
"inkwell 0.1.0",
|
||||
"libloading 0.7.1",
|
||||
"roc_builtins",
|
||||
@ -3164,8 +3162,6 @@ name = "roc_can"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"bumpalo",
|
||||
"im",
|
||||
"im-rc",
|
||||
"indoc",
|
||||
"pretty_assertions",
|
||||
"roc_builtins",
|
||||
@ -3187,8 +3183,6 @@ dependencies = [
|
||||
"cli_utils",
|
||||
"const_format",
|
||||
"criterion",
|
||||
"im",
|
||||
"im-rc",
|
||||
"indoc",
|
||||
"inkwell 0.1.0",
|
||||
"libloading 0.7.1",
|
||||
@ -3298,8 +3292,6 @@ dependencies = [
|
||||
"fs_extra",
|
||||
"futures",
|
||||
"glyph_brush",
|
||||
"im",
|
||||
"im-rc",
|
||||
"libc",
|
||||
"log",
|
||||
"nonempty",
|
||||
@ -3339,8 +3331,6 @@ name = "roc_fmt"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"bumpalo",
|
||||
"im",
|
||||
"im-rc",
|
||||
"indoc",
|
||||
"pretty_assertions",
|
||||
"roc_collections",
|
||||
@ -3354,8 +3344,6 @@ name = "roc_gen_dev"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"bumpalo",
|
||||
"im",
|
||||
"im-rc",
|
||||
"object 0.26.2",
|
||||
"roc_builtins",
|
||||
"roc_can",
|
||||
@ -3377,8 +3365,6 @@ name = "roc_gen_llvm"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"bumpalo",
|
||||
"im",
|
||||
"im-rc",
|
||||
"inkwell 0.1.0",
|
||||
"morphic_lib",
|
||||
"roc_builtins",
|
||||
@ -3531,8 +3517,6 @@ version = "0.1.0"
|
||||
dependencies = [
|
||||
"bumpalo",
|
||||
"distance",
|
||||
"im",
|
||||
"im-rc",
|
||||
"indoc",
|
||||
"pretty_assertions",
|
||||
"roc_builtins",
|
||||
@ -4074,8 +4058,6 @@ version = "0.1.0"
|
||||
dependencies = [
|
||||
"bumpalo",
|
||||
"either",
|
||||
"im",
|
||||
"im-rc",
|
||||
"indoc",
|
||||
"inkwell 0.1.0",
|
||||
"libc",
|
||||
|
@ -68,8 +68,6 @@ clap = { version = "= 3.0.0-beta.5", default-features = false, features = ["std"
|
||||
const_format = "0.2.22"
|
||||
rustyline = { git = "https://github.com/rtfeldman/rustyline", tag = "prompt-fix" }
|
||||
rustyline-derive = { git = "https://github.com/rtfeldman/rustyline", tag = "prompt-fix" }
|
||||
im = "15.0.0"
|
||||
im-rc = "15.0.0"
|
||||
bumpalo = { version = "3.8.0", features = ["collections"] }
|
||||
libloading = "0.7.1"
|
||||
mimalloc = { version = "0.1.26", default-features = false }
|
||||
|
@ -24,8 +24,6 @@ roc_gen_wasm = { path = "../gen_wasm", optional = true }
|
||||
roc_gen_dev = { path = "../gen_dev", default-features = false }
|
||||
roc_reporting = { path = "../reporting" }
|
||||
roc_std = { path = "../../roc_std" }
|
||||
im = "15.0.0"
|
||||
im-rc = "15.0.0"
|
||||
bumpalo = { version = "3.8.0", features = ["collections"] }
|
||||
libloading = "0.7.1"
|
||||
tempfile = "3.2.0"
|
||||
|
@ -14,8 +14,6 @@ roc_problem = { path = "../problem" }
|
||||
roc_types = { path = "../types" }
|
||||
roc_builtins = { path = "../builtins" }
|
||||
ven_graph = { path = "../../vendor/pathfinding" }
|
||||
im = "15.0.0"
|
||||
im-rc = "15.0.0"
|
||||
bumpalo = { version = "3.8.0", features = ["collections"] }
|
||||
|
||||
[dev-dependencies]
|
||||
|
@ -872,7 +872,7 @@ fn canonicalize_pending_def<'a>(
|
||||
// TODO try to remove this .clone()!
|
||||
value: loc_can_expr.value.clone(),
|
||||
},
|
||||
pattern_vars: im::HashMap::clone(&vars_by_symbol),
|
||||
pattern_vars: vars_by_symbol.clone(),
|
||||
annotation: Some(Annotation {
|
||||
signature: typ.clone(),
|
||||
introduced_variables: output.introduced_variables.clone(),
|
||||
@ -1093,7 +1093,7 @@ fn canonicalize_pending_def<'a>(
|
||||
// TODO try to remove this .clone()!
|
||||
value: loc_can_expr.value.clone(),
|
||||
},
|
||||
pattern_vars: im::HashMap::clone(&vars_by_symbol),
|
||||
pattern_vars: vars_by_symbol.clone(),
|
||||
annotation: Some(Annotation {
|
||||
signature: typ.clone(),
|
||||
introduced_variables: output.introduced_variables.clone(),
|
||||
@ -1231,7 +1231,7 @@ fn canonicalize_pending_def<'a>(
|
||||
region: loc_can_expr.region,
|
||||
value: loc_can_expr.value.clone(),
|
||||
},
|
||||
pattern_vars: im::HashMap::clone(&vars_by_symbol),
|
||||
pattern_vars: vars_by_symbol.clone(),
|
||||
annotation: None,
|
||||
},
|
||||
);
|
||||
|
@ -952,7 +952,7 @@ pub fn local_successors<'a>(
|
||||
references: &'a References,
|
||||
closures: &'a MutMap<Symbol, References>,
|
||||
) -> ImSet<Symbol> {
|
||||
let mut answer = im_rc::hashset::HashSet::clone(&references.lookups);
|
||||
let mut answer = references.lookups.clone();
|
||||
|
||||
for call_symbol in references.calls.iter() {
|
||||
answer = answer.union(call_successors(*call_symbol, closures));
|
||||
@ -962,7 +962,7 @@ pub fn local_successors<'a>(
|
||||
}
|
||||
|
||||
fn call_successors(call_symbol: Symbol, closures: &MutMap<Symbol, References>) -> ImSet<Symbol> {
|
||||
let mut answer = im_rc::hashset::HashSet::default();
|
||||
let mut answer = ImSet::default();
|
||||
let mut seen = MutSet::default();
|
||||
let mut queue = vec![call_symbol];
|
||||
|
||||
|
@ -10,8 +10,6 @@ roc_collections = { path = "../collections" }
|
||||
roc_region = { path = "../region" }
|
||||
roc_module = { path = "../module" }
|
||||
roc_parse = { path = "../parse" }
|
||||
im = "15.0.0"
|
||||
im-rc = "15.0.0"
|
||||
bumpalo = { version = "3.8.0", features = ["collections"] }
|
||||
|
||||
[dev-dependencies]
|
||||
|
@ -16,8 +16,6 @@ roc_builtins = { path = "../builtins" }
|
||||
roc_unify = { path = "../unify" }
|
||||
roc_solve = { path = "../solve" }
|
||||
roc_mono = { path = "../mono" }
|
||||
im = "15.0.0"
|
||||
im-rc = "15.0.0"
|
||||
bumpalo = { version = "3.8.0", features = ["collections"] }
|
||||
target-lexicon = "0.12.2"
|
||||
# TODO: Deal with the update of object to 0.27.
|
||||
|
@ -18,8 +18,6 @@ roc_solve = { path = "../solve" }
|
||||
roc_mono = { path = "../mono" }
|
||||
roc_std = { path = "../../roc_std" }
|
||||
morphic_lib = { path = "../../vendor/morphic_lib" }
|
||||
im = "15.0.0"
|
||||
im-rc = "15.0.0"
|
||||
bumpalo = { version = "3.8.0", features = ["collections"] }
|
||||
inkwell = { path = "../../vendor/inkwell" }
|
||||
target-lexicon = "0.12.2"
|
||||
|
@ -16,8 +16,6 @@ roc_can = { path = "../can" }
|
||||
roc_solve = { path = "../solve" }
|
||||
roc_mono = { path = "../mono" }
|
||||
ven_pretty = { path = "../../vendor/pretty" }
|
||||
im = "15.0.0"
|
||||
im-rc = "15.0.0"
|
||||
distance = "0.4.0"
|
||||
bumpalo = { version = "3.8.0", features = ["collections"] }
|
||||
|
||||
|
@ -29,8 +29,6 @@ roc_can = { path = "../can" }
|
||||
roc_parse = { path = "../parse" }
|
||||
roc_build = { path = "../build" }
|
||||
roc_std = { path = "../../roc_std" }
|
||||
im = "15.0.0"
|
||||
im-rc = "15.0.0"
|
||||
bumpalo = { version = "3.8.0", features = ["collections"] }
|
||||
either = "1.6.1"
|
||||
libc = "0.2.106"
|
||||
|
@ -32,8 +32,6 @@ roc_unify = { path = "../compiler/unify" }
|
||||
roc_reporting = { path = "../compiler/reporting" }
|
||||
roc_solve = { path = "../compiler/solve" }
|
||||
ven_graph = { path = "../vendor/pathfinding" }
|
||||
im = "15.0.0"
|
||||
im-rc = "15.0.0"
|
||||
bumpalo = { version = "3.8.0", features = ["collections"] }
|
||||
arraystring = "0.3.0"
|
||||
libc = "0.2.106"
|
||||
|
Loading…
Reference in New Issue
Block a user