Skip to content
Snippets Groups Projects
  1. Oct 25, 2020
  2. Oct 19, 2020
  3. Oct 09, 2020
  4. Mar 08, 2020
  5. Feb 29, 2020
  6. Dec 16, 2019
    • Alex Crichton's avatar
      Update bindings for the wasm32-wasi target · 93743ca8
      Alex Crichton authored
      This commit performs a number of updates for libc with the `wasm32-wasi`
      target:
      
      * Updates the `wasi-libc` repository commit used (previously known as
        `wasi-sysroot`)
      * Updates the container to Ubuntu 19.10 which has Clang 9 packaged which
        is all we need.
      * Avoids building `wasmtime` and instead downloads a precompiled binary.
      * Updates bindings in `src/wasi.rs` to match the current upstream state.
      93743ca8
  7. Oct 22, 2019
    • Pietro Albini's avatar
      ci: switch mirrors to use our CDN · 5df4b8d0
      Pietro Albini authored
      We recently added a CDN in front of our CI mirrors as it's faster and
      cheaper for us. This switches libc's CI to use it instead of accessing
      the underlying bucket directly.
      5df4b8d0
  8. Aug 21, 2019
    • Pietro Albini's avatar
      ci: switch to the rust-lang-ci-mirrors bucket for mirrors · 30133d9d
      Pietro Albini authored
      Previously mirrors were stored in the rust-lang-ci2 bucket, which is
      meant to store temporary data (the CI artifacts). This switches the code
      to fetch from the new mirrors bucket.
      
      The old files won't be removed, but they won't be backed up either.
      30133d9d
  9. Aug 14, 2019
  10. May 24, 2019
    • gnzlbg's avatar
      Add a FreeBSD 12 build job and test FreeBSD12 APIs · 7437d0a6
      gnzlbg authored
      This commits adds a second FreeBSD 12 build job,
      and splits the implementation of the FreeBSD module
      into two modules, one for FreeBSD 11, and one for FreeBSD 12.
      
      The FreeBSD 11 module is compiled always by default, and is
      mostly forward compatible with FreeBSD 12 systems.
      
      The FreeBSD 12 module is only built for now in libc's CI,
      and uses FreeBSD 12 data types and APIs, linking to symbols
      that are only available in FreeBSD 12.
      
      Basically, when LIBC_CI env variable is defined, and the host
      system is a FreeBSD 12 system, then the FreeBSD 12 module is
      automatically built and tested. Conditional compilation is done
      using a `cfg(freebsd12)` flag.
      
      This commit also re-enables many tests, and documents why
      some remain disabled.
      7437d0a6
  11. Feb 07, 2019
    • gnzlbg's avatar
      Build all platforms in CI · 8f1acf46
      gnzlbg authored
      This commit adds a `ci/build.sh` script that checks that libc builds correctly
      for some common configurations (`--no-default-features`, `default`,
      `extra_traits`) on most targets supported by Rust since Rust 1.13.0 (the oldest
      Rust version that libc supports).
      
      The build matrix is refactored into two stages.
      
      The first stage is called `tools-and-build-and-tier1` and it aims to discover
      issues quickly by running the documentation and linter builds, as well as
      checking that the library builds correctly on all targets in all supported
      channels and "problematic" Rust versions; Rust versions adding major new
      features like `repr(align)`, `union`, etc. This first stage also runs
      libc-test for the tier-1 targets on linux and osx. These builds finish
      quickly because no emulation is necessary.
      
      The second stage is called `tier2` and it runs libc-test for all other targets
      for which we are currently able to do so.
      
      Closes #1229 .
      8f1acf46
  12. Feb 05, 2019
    • Alan Somers's avatar
      Add an integration test for the cmsg(3) functions. · 38cf5b15
      Alan Somers authored
      Since these are defined in C as macros, they must be reimplemented in
      libc as Rust functions.  They're hard to get exactly right, and they
      vary from platform to platform.  The test builds custom C code that uses
      the real macros, and compares its output to the Rust versions' output
      for various inputs.
      
      Skip the CMSG_NXTHDR test on sparc64 linux because it hits a Bus Error.
      
      Issue #1239
      
      Skip the entire cmsg test program on s390x because it dumps core
      seemingly before the kernel finishes booting.
      
      Issue #1240
      38cf5b15
  13. Feb 02, 2019
  14. Nov 26, 2018
  15. Nov 20, 2018
  16. Jul 29, 2018
  17. Jul 12, 2018
  18. Mar 15, 2018
  19. Feb 27, 2018
  20. Nov 25, 2017
  21. Oct 27, 2017
  22. Sep 16, 2017
  23. Sep 06, 2017
  24. Aug 22, 2017
  25. Aug 21, 2017
    • Bryant Mairs's avatar
    • Bryant Mairs's avatar
      Add more fcntl and seal constants for Android/Linux · 2e11d9e1
      Bryant Mairs authored
      We now create an additional binary `linux_fcntl` for testing this
      since there are header conflicts when including all necessary headers.
      This binary is run on all platforms even though it's empty on all non-
      Android/non-Linux platforms.
      
      Testing has been switched from a custom binary to using a runner-less
      test (or pair of tests). This means that for local development a simple
      `cd libc-test && cargo test` will run all the tests. CI has also been
      updated here to reflect that.
      2e11d9e1
  26. Aug 18, 2017
    • Alex Crichton's avatar
      Remove OpenBSD CI · 201d5394
      Alex Crichton authored
      It's now broken due to changes in the `gcc` crate and having a too-old compiler,
      and in general it's unfortunately architecturally so different from the other
      test frameworks that it's difficult to maintain over time.
      201d5394
  27. Jul 07, 2017
  28. Jun 08, 2017
  29. May 03, 2017
  30. Apr 19, 2017
  31. Feb 23, 2017
  32. Jan 18, 2017
  33. Jan 17, 2017
Loading