fix crash when using RustAppBuilder
This commit is contained in:
parent
b4c8593d41
commit
7f4f502067
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "spl"
|
name = "spl"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Stack Pogramming Language: A simple, concise scripting language."
|
description = "Stack Pogramming Language: A simple, concise scripting language."
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
@ -61,8 +61,10 @@ impl Hash for RustAppBuilder {
|
||||||
impl RustAppBuilder {
|
impl RustAppBuilder {
|
||||||
pub fn new() -> RustAppBuilder {
|
pub fn new() -> RustAppBuilder {
|
||||||
Self {
|
Self {
|
||||||
|
rust_functions: Vec::new(),
|
||||||
|
to_embed: HashMap::new(),
|
||||||
default_file: "repl.spl".to_owned(),
|
default_file: "repl.spl".to_owned(),
|
||||||
..Default::default()
|
name: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue