Skip to content

Commit ecb050a

Browse files
committed
add some more docs
1 parent cb31e59 commit ecb050a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sys.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ pub trait Sys: Clone {
7474
/// Gets and parses the PATHEXT environment variable on Windows.
7575
///
7676
/// Override this to disable globally caching the parsed PATHEXT.
77+
///
78+
/// Note: This will only be called when `is_windows()` returns `true`
79+
/// and isn't conditionally compiled with `#[cfg(windows)]` so that it
80+
/// can work in Wasm.
7781
fn env_windows_path_ext(&self) -> Cow<'static, [String]> {
7882
use std::sync::OnceLock;
7983

0 commit comments

Comments
 (0)