8000 Add platform def at the top of locale module · RustPython/RustPython@1533f7b · GitHub
[go: up one dir, main page]

Skip to content

Commit 1533f7b

Browse files
Add platform def at the top of locale module
1 parent 359c696 commit 1533f7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/src/locale.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
#[cfg(any(target_os = "linux", target_os = "macos"))]
12
pub(crate) use _locale::make_module;
23

4+
#[cfg(any(target_os = "linux", target_os = "macos"))]
35
#[pymodule]
46
mod _locale {
57
extern crate libc;

0 commit comments

Comments
 (0)
0