Skip to content

Commit 3a92a3b

Browse files
authored
Merge branch 'main' into busypoll-ioctl
2 parents 465a935 + b667ac1 commit 3a92a3b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2022
-840
lines changed

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ task:
99
image: freebsd-14-1-release-amd64-ufs
1010
- name: nightly freebsd-15
1111
freebsd_instance:
12-
image_family: freebsd-15-0-snap
12+
image_family: freebsd-15-0-snap
1313
setup_script:
1414
- pkg install -y libnghttp2 curl
1515
- curl https://sh.rustup.rs -sSf --output rustup.sh

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
1-
Thanks for considering submitting a PR!
2-
3-
We have the
4-
[contribution guide](https://github.com/rust-lang/libc/blob/main/CONTRIBUTING.md).
5-
Please read it if you're new here!
6-
7-
Here is a checklist for things that will be checked during review or continuous
8-
integration:
9-
10-
- \[ ] Edit corresponding file(s) under `libc-test/semver` when you add/remove
11-
item(s), e.g. edit `linux.txt` if you add an item to
12-
`src/unix/linux_like/linux/mod.rs`
13-
- \[ ] Your PR doesn't contain any private or _unstable_ values like `*LAST` or
14-
`*MAX` (see [#3131](https://github.com/rust-lang/libc/issues/3131))
15-
- \[ ] Provide a link to relevant source (headers or documentation) if your PR
16-
adds or changes API.
17-
- \[ ] If your PR has a breaking change, please clarify it
18-
- \[ ] If your PR increments version number, it must NOT contain any other
19-
changes (otherwise a release could be delayed)
20-
- \[ ] Make sure `ci/style.sh` passes
21-
- \[ ] `cd libc-test && cargo test`
22-
- (this might fail on your env due to environment difference between your env
23-
and CI. Ignore local failures if you are not sure)
24-
25-
Delete this line and everything above before opening your PR.
1+
<!-- Thank you for submitting a PR!
2+
3+
We have the contribution guide, please read it if you are new here!
4+
<https://github.com/rust-lang/libc/blob/main/CONTRIBUTING.md>
5+
6+
Please fill out the below template.
7+
-->
8+
9+
# Description
10+
11+
<!-- Add a short description about what this change does -->
12+
13+
# Sources
14+
15+
<!-- All API changes must have links to headers and/or documentation,
16+
preferably both -->
17+
18+
# Checklist
19+
20+
<!-- Please make sure the following has been done before submitting a PR,
21+
or mark it as a draft if you are not sure. -->
22+
23+
- [ ] Relevant tests in `libc-test/semver` have been updated
24+
- [ ] No placeholder or unstable values like `*LAST` or `*MAX` are
25+
included (see [#3131](https://github.com/rust-lang/libc/issues/3131))
26+
- [ ] Tested locally (`cd libc-test && cargo test --target mytarget`);
27+
especially relevant for platforms that may not be checked in CI

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,14 @@ targets = [
8686
"riscv32i-unknown-none-elf",
8787
"riscv32imac-unknown-none-elf",
8888
"riscv32imc-unknown-none-elf",
89+
"riscv32-wrs-vxworks",
8990
"riscv64gc-unknown-freebsd",
9091
"riscv64gc-unknown-hermit",
9192
"riscv64gc-unknown-linux-gnu",
9293
"riscv64gc-unknown-linux-musl",
9394
"riscv64gc-unknown-none-elf",
9495
"riscv64imac-unknown-none-elf",
96+
"riscv64-wrs-vxworks",
9597
"s390x-unknown-linux-gnu",
9698
"s390x-unknown-linux-musl",
9799
"sparc-unknown-linux-gnu",

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ This crate exports all underlying platform types, functions, and constants under
1111
the crate root, so all items are accessible as `libc::foo`. The types and values
1212
of all the exported APIs match the platform that libc is compiled for.
1313

14+
Windows API bindings are not included in this crate. If you are looking for WinAPI
15+
bindings, consider using crates like [windows-sys].
16+
1417
More detailed information about the design of this library can be found in its
1518
[associated RFC][rfc].
1619

1720
[rfc]: https://github.com/rust-lang/rfcs/blob/HEAD/text/1291-promote-libc.md
21+
[windows-sys]: https://docs.rs/windows-sys
1822

1923
## v1.0 Roadmap
2024

0 commit comments

Comments
 (0)