File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -246,11 +246,11 @@ fn collect_stdlib_paths() -> Vec<String> {
246246
247247 // BUILDTIME_RUSTPYTHONPATH should be set when distributing
248248 if let Some ( paths) = option_env ! ( "BUILDTIME_RUSTPYTHONPATH" ) {
249- additional_paths. extend (
250- crate :: settings :: split_paths ( paths )
251- . map ( |path| path . into_os_string ( ) . into_string ( )
252- . unwrap_or_else ( |_| panic ! ( "BUILDTIME_RUSTPYTHONPATH isn't valid unicode" ) ) ) ,
253- )
249+ additional_paths. extend ( crate :: settings :: split_paths ( paths ) . map ( |path| {
250+ path . into_os_string ( )
251+ . into_string ( )
252+ . unwrap_or_else ( |_| panic ! ( "BUILDTIME_RUSTPYTHONPATH isn't valid unicode" ) )
253+ } ) )
254254 } else {
255255 #[ cfg( feature = "rustpython-pylib" ) ]
256256 additional_paths. push ( rustpython_pylib:: LIB_PATH . to_owned ( ) )
You can’t perform that action at this time.
0 commit comments