• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 18548748869
80%

Build:
DEFAULT BRANCH: main
Ran 16 Oct 2025 03:19AM UTC
Jobs 13
Files 1709
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Oct 2025 02:51AM UTC coverage: 80.267%. Remained the same
18548748869

push

github

web-flow
[windows] Add windows support in the stdio crate. (#22745)

The `stdio` crate depended on the unix-specific RawFd.

This change removes that dependency, replacing it
with our own C file descriptor type, `CFd`.

For background: 

This crate is used for IO against the Python side's 
stdin/stdout/stderr. We pass int32 C fds (as returned by
`fileno()`) from  Python into Rust, cast those to `RawFd`,
and then wrap those in Rust `File` objects. To pass file
references back into Python we grab the `RawFd` back
from the `File`. 

This works because on unix the raw file descriptor is used
directly by the stdlib. So while we were trading in `RawFd`
what we actually meant was "C stdlib file descriptor".

However on windows the C file descriptor type *wraps*
the underlying `RawHandle`, and is not identical to it. 
It is easy to go from C file descriptor to `RawHandle`, 
but the converse is not possible.

Fortunately since all our `RawHandle`s originate from
Python-side filenos, we can store those, as `CFd` structs,
alongside the corresponding `File` objects.

77230 of 96216 relevant lines covered (80.27%)

3.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_8/10 - 18548748869.1 16 Oct 2025 03:34AM UTC 1175
45.62
GitHub Action Run
2 test_python_linux_x86_64_7/10 - 18548748869.2 16 Oct 2025 03:36AM UTC 1178
42.8
GitHub Action Run
3 test_python_macos13_x86_64 - 18548748869.3 16 Oct 2025 04:04AM UTC 1157
43.38
GitHub Action Run
4 test_python_linux_x86_64_2/10 - 18548748869.4 16 Oct 2025 03:27AM UTC 1175
47.05
GitHub Action Run
5 test_python_linux_x86_64_1/10 - 18548748869.5 16 Oct 2025 03:31AM UTC 1172
40.37
GitHub Action Run
6 test_python_linux_x86_64_6/10 - 18548748869.6 16 Oct 2025 03:26AM UTC 1169
40.94
GitHub Action Run
7 test_python_linux_x86_64_0/10 - 18548748869.7 16 Oct 2025 03:31AM UTC 1193
45.74
GitHub Action Run
8 test_python_linux_x86_64_9/10 - 18548748869.8 16 Oct 2025 03:30AM UTC 1180
45.25
GitHub Action Run
9 test_python_linux_x86_64_3/10 - 18548748869.9 16 Oct 2025 03:32AM UTC 1171
45.38
GitHub Action Run
10 test_python_macos14_arm64 - 18548748869.10 16 Oct 2025 03:41AM UTC 1157
43.38
GitHub Action Run
11 test_python_linux_x86_64_4/10 - 18548748869.11 16 Oct 2025 03:40AM UTC 1205
50.12
GitHub Action Run
12 test_python_linux_arm64 - 18548748869.12 16 Oct 2025 03:19AM UTC 1157
43.37
GitHub Action Run
13 test_python_linux_x86_64_5/10 - 18548748869.13 16 Oct 2025 03:28AM UTC 1188
48.21
GitHub Action Run
Source Files on build 18548748869
  • Tree
  • List 1709
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18548748869
  • bd4607b8 on github
  • Prev Build on main (#18500880424)
  • Next Build on main (#18567011470)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc