File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use std::{
1717 error:: Error ,
1818 fs:: { self , File } ,
1919 io:: { self , BufRead , Write } ,
20- path,
20+ path:: { self , PathBuf } ,
2121 process:: Command ,
2222} ;
2323
@@ -83,11 +83,8 @@ pub fn custom_dir() -> Option<path::PathBuf> {
8383}
8484
8585/// Location of the downloaded webrtc binaries
86- /// The reason why we don't use OUT_DIR is because we sometimes need to share the same binaries
87- /// across multiple crates without dependencies constraints
88- /// This also has the benefit of not re-downloading the binaries for each crate
8986pub fn prebuilt_dir ( ) -> path:: PathBuf {
90- let target_dir = scratch :: path ( SCRATH_PATH ) ;
87+ let target_dir = PathBuf :: from ( std :: env :: var ( "OUT_DIR" ) . unwrap ( ) ) ;
9188 path:: Path :: new ( & target_dir) . join ( format ! (
9289 "livekit/{}-{}/{}" ,
9390 webrtc_triple( ) ,
You can’t perform that action at this time.
0 commit comments