openharmony_ci
eba8b6baa9
!2 Add OAT.xml and README.OpenSource
...
Merge pull request !2 from fangting/master
OpenHarmony-v6.0.0.1-Release
OpenHarmony-v6.0-Release
OpenHarmony-v6.0-Beta1
OpenHarmony-v4.1.4-Release
OpenHarmony-v5.1.0-Release
OpenHarmony-v5.0.3-Release
OpenHarmony-v4.1.3-Release
OpenHarmony-v5.0.2-Release
OpenHarmony-v4.1.2-Release
OpenHarmony-v5.0.1-Release
OpenHarmony-v4.0.4-Release
OpenHarmony-v5.0.0-Release
OpenHarmony-v4.0.3-Release
OpenHarmony-v4.0.2-Release
OpenHarmony-v5.0-Beta1
OpenHarmony-v4.0-Beta1
OpenHarmony-v4.0-Beta2
OpenHarmony-v4.0-Release
OpenHarmony-v4.0.1-Release
OpenHarmony-v4.1-Beta1
OpenHarmony-v4.1-Release
OpenHarmony-v4.1.1-Release
master-v
weekly_20240115-v
OpenHarmony-v6.0.0.2-Release
2023-04-14 08:09:58 +00:00
fangting
8447ee3fd1
Add OAT.xml and README.OpenSource
...
Signed-off-by: fangting <fangting12@huawei.com >
2023-04-14 14:15:03 +08:00
openharmony_ci
b814c2b8ac
!1 [linux-raw-sys]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
...
Merge pull request !1 from lubinglun/master
2023-04-13 11:33:42 +00:00
lubinglun
5a4a89b666
Add GN Build Files and Custom Modifications
...
Issue:https://gitee.com/openharmony/build/issues/I6UFTP
Signed-off-by: lubinglun <lubinglun@huawei.com >
2023-04-12 17:26:25 +08:00
Dan Gohman
f75666f06c
chore: Release linux-raw-sys version 0.1.4
github.com/sunfishcode/linux-raw-sys/v0.1.4
2022-12-13 10:16:12 -08:00
Dan Gohman
523d11d9be
Add a rust-version declaration.
2022-12-13 10:13:29 -08:00
John Nunley
b724f5a131
Add CMSG macros ( #37 )
...
* Add CMSG macros
2022-12-13 10:12:28 -08:00
Dan Gohman
e50ab5a689
chore: Release linux-raw-sys version 0.1.3
2022-11-22 13:54:51 -08:00
Dan Gohman
4d4e4c8e02
Add x32 support. ( #36 )
...
Add x32 support, by adding special cases for it in the generator.
2022-11-22 13:52:42 -08:00
Dan Gohman
b70bb13f9e
Update to actions/checkout@v3.
2022-11-22 13:35:30 -08:00
Dan Gohman
2dfc26db66
Update the install-rust action to node16.
2022-11-07 12:33:17 -08:00
Dan Gohman
3bc4dbf929
(cargo-release) version 0.1.2
2022-10-03 11:00:12 -07:00
nivkner
77f09a9f3f
add flags for the splice syscalls ( #35 )
...
* add splice flags
* autogenerate bindings
Co-authored-by: nivkner <nivkner@users.noreply.github.com >
2022-10-03 10:59:33 -07:00
Dan Gohman
4157b897d3
(cargo-release) version 0.1.1
2022-07-12 11:27:09 -07:00
carbotaniuman
6629446b28
Add sysinfo bindings
2022-07-11 14:59:20 -07:00
Dan Gohman
32b0450e4d
(cargo-release) version 0.1.0
2022-07-11 08:04:45 -07:00
carbotaniuman
ca44ba8aaa
Add inotify bindings
2022-07-11 08:01:52 -07:00
Dan Gohman
d9902bb63a
(cargo-release) version 0.0.46
2022-04-19 14:48:45 -07:00
Dan Gohman
ea566eaf86
Update to Linux 5.17.
2022-04-19 14:47:30 -07:00
Dan Gohman
7a07017668
(cargo-release) version 0.0.45
2022-04-19 12:16:22 -07:00
Dan Gohman
5c7441df07
Add the io-uring APIs.
2022-04-19 11:59:06 -07:00
Dan Gohman
af82e1e36e
(cargo-release) version 0.0.44
2022-04-09 16:26:26 -07:00
Dan Gohman
db394fd7bc
Implement Eq and PartialEq for __kernel_timespec.
2022-04-09 16:25:51 -07:00
Dan Gohman
45654a637d
(cargo-release) version 0.0.43
2022-04-08 15:08:19 -07:00
Dan Gohman
557ab7ace6
Define TCSANOW et al for MIPS.
...
Define `TCSANOW`, `TCSADRAIN`, and `TCSAFLUSH` for MIPS, since MIPS
defines these differently from all other architectures, and in a way
that bindgen doesn't support.
2022-04-08 15:07:30 -07:00
Dan Gohman
f4b744e278
Add tests to ensure that the C type definitions match libc. ( #27 )
...
* Add tests to ensure that the C type definitions match libc.
In no-std mode, we don't depend on libc. But, we still want to be sure
that our types match those of libc. This adds a libc dev-dependency and
checks that the types are the same in cargo-test.
* Use `cargo check --tests` instead of `cargo test`.
We only have static-assertion tests, and `cargo check --tests` is enough
for those, and doesn't require installing cross-compilers.
2022-02-16 10:24:12 -08:00
Dan Gohman
e7f339d079
(cargo-release) version 0.0.42
2022-02-11 12:32:35 -08:00
Dan Gohman
180151fdcb
Fix the definition of POLLWRNORM on mips.
2022-02-11 12:32:06 -08:00
Dan Gohman
4659c96f77
(cargo-release) version 0.0.41
2022-02-10 16:09:58 -08:00
Dan Gohman
608c2d634c
rustfmt the gen directory.
2022-02-10 16:09:14 -08:00
Dan Gohman
747c41583a
Add mips and mips64 ioctl support.
2022-02-10 16:03:44 -08:00
Dan Gohman
2897331c9a
Fix the docs.rs build.
...
Avoid enabling the rustc-dep-of-std feature in the docs.rs build, as it
replaces core, which breaks rustdoc.
2022-02-01 16:50:41 -08:00
Dan Gohman
6086d91c17
(cargo-release) start next development iteration 0.0.41-alpha.0
2022-01-27 14:27:12 -08:00
Dan Gohman
ea8fa0cbd7
(cargo-release) version 0.0.40
2022-01-27 14:27:03 -08:00
Dan Gohman
2c3ea21094
Use the correct preprocessor macro for detecting riscv64.
...
Use a preprocessor macro which is defined by the compiler for detecting
riscv64.
2022-01-27 14:23:55 -08:00
Dan Gohman
385db03083
(cargo-release) start next development iteration 0.0.40-alpha.0
2022-01-27 11:50:52 -08:00
Dan Gohman
4aef9ad9c6
(cargo-release) version 0.0.39
2022-01-27 11:50:44 -08:00
Dan Gohman
c2aeb27b02
Exclude ioctls from the general module.
...
Ioctl codes are provided in the `ioctl` module, so blocklist them from the
`general` module to avoid duplication.
2022-01-27 11:50:05 -08:00
Dan Gohman
21c4d0812a
Exclude the .github directory in the published package.
...
The .github, .rustfmt.toml, and .gitignore files aren't needed by
downstream users of the crate, so exclude them from the published
package.
2022-01-27 07:44:47 -08:00
Dan Gohman
8261e41b86
Simplify the bindings by using only a single kernel version. ( #20 )
...
Originally, the idea of having multiple versions was to attempt to
support writing code that was strictly compatible with old versions.
However, my experience with linux-raw-sys so far as been that that's
not as useful as it seemed like it would be, and versioning all the
imports means having multiple versions of all the types, which gets
awkward.
So instead, switch to having just a single Linux version, 5.11 for
now, which is mostly a superset of the other versions.
This also helps reduce compile times, as there aren't multiple
versions of everything to parse.
2022-01-27 07:43:31 -08:00
Dan Gohman
f79ebd589d
Define several macros used in the userfaultfd API.
...
Define the `UFFDIO_REGISTER_MODE_*`, `UFFDIO_COPY_MODE_*`, `UFFDIO_ZEROPAGE_MODE_*`,
and `UFFD_API` macros.
2022-01-26 18:23:42 -08:00
Dan Gohman
54cc3c8819
Add a new ioctl module, and populate it with lots of ioctl codes. ( #18 )
...
We've been collecting manual definitions of ioctl codes for a while, and
it looks like we're going to be collecting more over time, so start trying
a different strategy: use a script and a C program to extract ioctl values
from the headers semi-automatically.
The script itself isn't very easy to run, and I'm open to ideas for how
to do it better. However, this should cover most of Linux's existing ioctls,
so hopefully we won't need to run it very often.
2022-01-26 11:35:51 -08:00
Dan Gohman
41956e08d2
(cargo-release) start next development iteration 0.0.39-alpha.0
2022-01-25 12:03:23 -08:00
Dan Gohman
388cfa2daa
(cargo-release) version 0.0.38
2022-01-25 12:03:14 -08:00
Dan Gohman
c8deed2d79
Update to bindgen 0.59.2.
2022-01-25 12:00:58 -08:00
Dan Gohman
194e5003c2
Define TIOCGWINSZ, FIONBIO, FIONREAD, and TCGETS on powerpc64le.
...
Linux's macro definitions for these are too complex for bindgen, so
define these manually.
2022-01-25 11:52:57 -08:00
Dan Gohman
4b09ca5f62
Add bindings for linux/userfaultfd.h.
2022-01-25 11:50:14 -08:00
Dan Gohman
4e135f785c
(cargo-release) start next development iteration 0.0.38-alpha.0
2022-01-10 12:23:43 -08:00
Dan Gohman
a1444d3425
(cargo-release) version 0.0.37
2022-01-10 12:23:23 -08:00
Dan Gohman
3747418ca3
Update URLs from rsix to rustix.
2022-01-10 12:18:25 -08:00