Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 98d09e7

Browse filesBrowse files
committed
Remove time.daylight from freebsd
1 parent 7ae9432 commit 98d09e7
Copy full SHA for 98d09e7

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎vm/src/stdlib/time.rs

Copy file name to clipboardExpand all lines: vm/src/stdlib/time.rs
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ pub(crate) fn make_module(vm: &VirtualMachine) -> PyRef<PyModule> {
1818
#[cfg(not(target_env = "msvc"))]
1919
#[cfg(not(target_arch = "wasm32"))]
2020
extern "C" {
21+
#[cfg(not(target_os = "freebsd"))]
2122
#[link_name = "daylight"]
2223
static c_daylight: std::ffi::c_int;
2324
// pub static dstbias: std::ffi::c_int;
@@ -163,6 +164,7 @@ mod decl {
163164
unsafe { super::c_timezone }
164165
}
165166

167+
#[cfg(not(target_os = "freebsd"))]
166168
#[cfg(not(target_env = "msvc"))]
167169
#[cfg(not(target_arch = "wasm32"))]
168170
#[pyattr]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.