@@ -15,7 +15,7 @@ use ide::{
15
15
} ;
16
16
use ide_db:: { rust_doc:: format_docs, FxHasher } ;
17
17
use itertools:: Itertools ;
18
- use paths:: { Utf8Component , Utf8Prefix } ;
18
+ use paths:: { Utf8Component , Utf8PathBuf , Utf8Prefix } ;
19
19
use semver:: VersionReq ;
20
20
use serde_json:: to_value;
21
21
use vfs:: AbsPath ;
@@ -1390,10 +1390,10 @@ pub(crate) fn runnable(
1390
1390
workspace_root : Some ( workspace_root. into ( ) ) ,
1391
1391
override_cargo : config. override_cargo ,
1392
1392
cargo_args,
1393
- cwd : Some ( cwd. into ( ) ) ,
1393
+ cwd : cwd. into ( ) ,
1394
1394
cargo_extra_args : config. cargo_extra_args ,
1395
1395
executable_args,
1396
- expect_test : None ,
1396
+ environment : Default :: default ( ) ,
1397
1397
} ) ,
1398
1398
} ) )
1399
1399
}
@@ -1407,6 +1407,7 @@ pub(crate) fn runnable(
1407
1407
program : json_shell_runnable_args. program ,
1408
1408
args : json_shell_runnable_args. args ,
1409
1409
cwd : json_shell_runnable_args. cwd ,
1410
+ environment : Default :: default ( ) ,
1410
1411
} ;
1411
1412
Ok ( Some ( lsp_ext:: Runnable {
1412
1413
label,
@@ -1433,10 +1434,10 @@ pub(crate) fn runnable(
1433
1434
workspace_root : None ,
1434
1435
override_cargo : config. override_cargo ,
1435
1436
cargo_args,
1436
- cwd : None ,
1437
+ cwd : Utf8PathBuf :: from ( "." ) ,
1437
1438
cargo_extra_args : config. cargo_extra_args ,
1438
1439
executable_args,
1439
- expect_test : None ,
1440
+ environment : Default :: default ( ) ,
1440
1441
} ) ,
1441
1442
} ) )
1442
1443
}
0 commit comments