Skip to content

Tags: lyinch/libc

Tags

0.2.118

Toggle 0.2.118's commit message
Auto merge of rust-lang#2687 - Amanieu:v118, r=Amanieu

Bump version to 0.2.118

0.2.117

Toggle 0.2.117's commit message
Auto merge of rust-lang#2666 - rschulman:master, r=Amanieu

Bump version number to prep for publish

Making a new release so I can build std for riscv64gc-unknown-linux-musl. Thanks!

0.2.116

Toggle 0.2.116's commit message
Auto merge of rust-lang#2659 - tmandry:fix-freebsd-std, r=Amanieu

Gate PartialEq and Eq on freebsd objects behind extra_traits

This fixes the failure in rust-lang/rust#93351 (comment).

These derives were recently added in rust-lang#2565. Other PartialEq/Eq derives in the project (and this file) are all behind the `extra_traits` gate.

0.2.115

Toggle 0.2.115's commit message
Auto merge of rust-lang#2655 - anp:release-dt-unknown, r=Amanieu

Release 0.2.115 to crates.io.

Needed by rust-lang/rust#93351.

Should have included this in my prior PR but hadn't finished reading CONTRIBUTING.md. Sorry for the extra traffic!

0.2.114

Toggle 0.2.114's commit message
Auto merge of rust-lang#2652 - Mek101:master, r=Amanieu

Fix linux ioctl BLKSSZGET and BLKPBSZGET constants types.

The BLKSSZGET and BLKPBSZGET constants weren't arch dependent as they should have.

0.2.113

Toggle 0.2.113's commit message
Auto merge of rust-lang#2636 - skrap:master, r=Amanieu

uclibc: fix O_TMPFILE value, hide some unused fields to fix libc-test

This was a bit of a yak-shave.

First, O_TMPFILE was wrong because 020000000 is decimal, not octal.  🤦   This was, of course, causing all sorts of things to be horrible.

That led me to switch to a newer toolchain which actually defined O_TMPFILE, so that the libc tests pass on `armv7-unknown-linux-uclibceabihf`.

That revealed that certain field names had changed since the last time I ran the libc tests on this architecture, which revealed that some struct fields (e.g. `__unused`) were being marked as `pub` where all other architectures left them as private.

So, this patch might seem somewhat sprawling, but without all of these changes it's not possible to run libc-test!

To test:
* get https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--uclibc--bleeding-edge-2021.11-1.tar.bz2
* unpack somewhere, and call that `$TOOLCHAIN`
```
cd libc-test

PATH=$TOOLCHAIN/bin:$PATH \
  CC_armv7_unknown_linux_uclibc=armv7-buildroot-linux-uclibc-gcc \
  CARGO_TARGET_ARMV7_UNKNOWN_LINUX_UCLIBCEABIHF_LINKER=armv7-buildroot-linux-uclibc-gcc \
  CARGO_TARGET_ARMV7_UNKNOWN_LINUX_UCLIBCEABIHF_RUNNER="qemu-arm -L $TOOLCHAIN/arm-buildroot-linux-uclibcgnueabihf/sysroot/" \
  cargo +nightly test --target armv7-unknown-linux-uclibceabihf -Zbuild-std=core,std
```

0.2.112

Toggle 0.2.112's commit message
Auto merge of rust-lang#2590 - GuillaumeGomez:private-fields, r=Amanieu

Make some freebsd private struct fields public and upgrade crate version to 0.2.112

Otherwise we can't use the structs at all...

0.2.111

Toggle 0.2.111's commit message
Auto merge of rust-lang#2588 - GuillaumeGomez:upgrade, r=Amanieu

Upgrade crate version to 0.2.111

r? `@Amanieu`

0.2.110

Toggle 0.2.110's commit message
Auto merge of rust-lang#2584 - GuillaumeGomez:upgrade, r=Amanieu

Upgrade crate version to 0.2.110

0.2.109

Toggle 0.2.109's commit message
Auto merge of rust-lang#2578 - GuillaumeGomez:upgrade, r=Amanieu

Upgrade crate version to 0.2.109

r? `@Amanieu`