Mercurial > hg
view mercurial/cext/osutil.pyi @ 48296:4ee6b8b40787
rust: update the minimum version of Rust
Debian Bullseye has just been released, and it carries `rustc 1.48.0`.
This actually implies a regression that we can't really do anything about in
`rhg`. See https://github.com/rust-lang/rust/issues/88825. In short, closed (or
bad) standard file descriptors are reopened silently with no way of telling by
the Rust runtime before `main` is executed. This means that closed fds are not
forwarded to the subprocess we run in case of fallback. This is a bit sad, but
probably not something worth worrying too much about.
Differential Revision: https://phab.mercurial-scm.org/D11341
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Wed, 25 Aug 2021 17:53:19 +0200 |
parents | 8dca9051a859 |
children | c6a3243567b6 |
line wrap: on
line source
from typing import ( AnyStr, IO, List, Sequence, ) version: int class stat: st_dev: int st_mode: int st_nlink: int st_size: int st_mtime: int st_ctime: int def listdir(path: bytes, st: bool, skip: bool) -> List[stat]: ... def posixfile(name: AnyStr, mode: bytes, buffering: int) -> IO: ... def statfiles(names: Sequence[bytes]) -> List[stat]: ... def recvfds(sockfd: int) -> List[int]: ... def setprocname(name: bytes) -> None: ... def getfstype(path: bytes) -> bytes: ... def getfsmountpoint(path: bytes) -> bytes: ... def unblocksignal(sig: int) -> None: ... def isgui() -> bool: ...