Skip to content

Commit c97c813

Browse files
committed
rusti: Add current working directory to search path
1 parent f93b1ff commit c97c813

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rusti/rusti.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ fn run(repl: Repl, input: ~str) -> Repl {
8282
let options: @session::options = @{
8383
crate_type: session::unknown_crate,
8484
binary: repl.binary,
85+
addl_lib_search_paths: ~[os::getcwd()],
8586
.. *session::basic_options()
8687
};
8788

0 commit comments

Comments
 (0)