From c97c8131a558595c0a19a283b99ef1ba4638f853 Mon Sep 17 00:00:00 2001 From: Zack Corr Date: Sat, 27 Oct 2012 18:52:47 +1000 Subject: [PATCH] rusti: Add current working directory to search path --- src/rusti/rusti.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rusti/rusti.rs b/src/rusti/rusti.rs index d12172ac69d1..b1c2d0778fa3 100644 --- a/src/rusti/rusti.rs +++ b/src/rusti/rusti.rs @@ -82,6 +82,7 @@ fn run(repl: Repl, input: ~str) -> Repl { let options: @session::options = @{ crate_type: session::unknown_crate, binary: repl.binary, + addl_lib_search_paths: ~[os::getcwd()], .. *session::basic_options() };