mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-03 05:54:33 +00:00
chore: use ArcArray
instead of Vec
This commit is contained in:
parent
4ac6276ba9
commit
41bf14629b
4 changed files with 23 additions and 16 deletions
|
@ -57,7 +57,7 @@ impl _Compiler {
|
|||
#[new]
|
||||
fn new(deps: Vec<Package>) -> Self {
|
||||
let cfg = ErgConfig {
|
||||
packages: deps,
|
||||
packages: erg_common::ArcArray::from(deps),
|
||||
..ErgConfig::default()
|
||||
};
|
||||
Self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue