missed file
This commit is contained in:
parent
46f29f41af
commit
f2eb73ce8e
1 changed files with 4 additions and 0 deletions
|
|
@ -718,6 +718,10 @@ pub fn main_get_local_option(key: String) -> SyncReturn<String> {
|
|||
SyncReturn(get_local_option(key))
|
||||
}
|
||||
|
||||
pub fn main_get_env(key: String) -> SyncReturn<String> {
|
||||
SyncReturn(std::env::var(key).unwrap_or_default())
|
||||
}
|
||||
|
||||
pub fn main_set_local_option(key: String, value: String) {
|
||||
set_local_option(key, value)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue