Skip to content

Move crt_fd to common#3658

Merged
youknowone merged 2 commits intoRustPython:mainfrom
coolreader18:move-crt_fd
May 1, 2022
Merged

Move crt_fd to common#3658
youknowone merged 2 commits intoRustPython:mainfrom
coolreader18:move-crt_fd

Conversation

@coolreader18
Copy link
Member

No description provided.

@coolreader18 coolreader18 linked an issue Apr 24, 2022 that may be closed by this pull request
@coolreader18 coolreader18 force-pushed the move-crt_fd branch 2 times, most recently from 4c262b7 to ea1210e Compare April 24, 2022 03:31
#[cfg(windows)]
pub type Offset = libc::c_longlong;

// copied from stdlib::os
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about moving rather than copying? it seems stdlib::os can call this function also from common.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair, I was being lazy :P

@youknowone youknowone merged commit 4c0d49d into RustPython:main May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

move vm::crt_fd to common

2 participants