diff --git a/tools/runfiles/runfiles.rs b/tools/runfiles/runfiles.rs index 04f3366a62..1e60a91351 100644 --- a/tools/runfiles/runfiles.rs +++ b/tools/runfiles/runfiles.rs @@ -108,7 +108,7 @@ impl Runfiles { } /// Returns the .runfiles directory for the currently executing binary. -pub fn find_runfiles_dir() -> io::Result { +fn find_runfiles_dir() -> io::Result { assert_ne!( std::env::var_os("RUNFILES_MANIFEST_ONLY").unwrap_or_else(|| OsString::from("0")), "1"