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]
|
||||
name = "spl"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
edition = "2021"
|
||||
description = "Stack Pogramming Language: A simple, concise scripting language."
|
||||
license = "MIT"
|
||||
|
|
|
@ -61,8 +61,10 @@ impl Hash for RustAppBuilder {
|
|||
impl RustAppBuilder {
|
||||
pub fn new() -> RustAppBuilder {
|
||||
Self {
|
||||
rust_functions: Vec::new(),
|
||||
to_embed: HashMap::new(),
|
||||
default_file: "repl.spl".to_owned(),
|
||||
..Default::default()
|
||||
name: None,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue