aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
AgeCommit message (Collapse)Author
2021-04-08Upgrade rust/crates/libc to 0.2.93Joel Galenson
Test: make Change-Id: I7e3da584b9e0a1d254f5c04fd2625cf63b6eefbb
2021-01-25Upgrade rust/crates/libc to 0.2.81Haibo Huang
Test: make Change-Id: Ib97682b9fd7603558c81062af1a6d37631d53029
2020-10-26Upgrade rust/crates/libc to 0.2.80Chih-Hung Hsieh
Test: make Change-Id: I981e614512ce2cb9bafa23c2cffd4850da4d4ee0
2020-10-02Upgrade rust/crates/libc to 0.2.78.Andrew Walbran
Bug: 168685525 Test: atest --host --include-subdirs external/rust/crates Change-Id: Ic8b3466a1f8e42b5372e2d5aa5e81fe89473df83
2020-09-10Upgrade rust/crates/libc to 0.2.77Haibo Huang
Test: make Change-Id: I7c29146ea175331215d087a634527d3a43b8293b
2020-08-20Upgrade rust/crates/libc to 0.2.76Haibo Huang
Test: make Change-Id: I7054d14398b116d605871bf671483b2a0f828abf
2020-07-31Upgrade rust/crates/libc to 0.2.74Haibo Huang
Also adds local changes to patches/std.diff so that they will be applied automatically next time. Change-Id: I772bdc5c7eeb57464725f6bf9ba93baedf37a3e3
2020-07-20Upgrade rust/crates/libc to 0.2.73Haibo Huang
* Regenerate .bp file with latest cargo2android.py. * Keep local change to src/lib.rs: "Use std to allow building as a dylib." Test: atest -c --include-subdirs external/rust/crates Change-Id: I2ee95cffd534115e7810027d51b86dc3df26e82b
2020-07-08Upgrade rust/crates/libc to 0.2.72.android-r-beta-3android-r-beta-2Andrew Walbran
Bug: b/158290206 Test: mm -j40 Change-Id: Iaad65cc21e5640cfbd31d40991b44ba1a6fa6de4
2020-05-26Upgrade rust/crates/libc to 0.2.71Haibo Huang
Test: None Change-Id: I60885266408be753c815ff4748463bf8bff64400
2020-05-12Upgrade rust/crates/libc to 0.2.70Haibo Huang
Test: None Change-Id: Ie7a43f9668b2fe781dd552bcf674d125e7ba1857
2020-04-13Upgrade rust/crates/libc to 0.2.69Haibo Huang
Test: None Change-Id: I63e7e4993a38a138ad87445be23edcef8e05488b
2020-03-20Update to latest libc-0.2.68Chih-Hung Hsieh
* fill back missing NOTICE,METADATA,*LICENSE* files Bug: 150877376 Test: make Change-Id: I5735b22f9aade4f02ecc7b00c89ba090f7f0d786
2020-01-02Roll forwards to 0.2.66 for rustc-1.40.0android-r-preview-1Matthew Maurer
Bug: 146571186 Test: m crosvm.experimental; atest unicode-xid_device_tests_unicode_xid Change-Id: I83d2df69e8daa8192a62023a760cb8e9068bde01
2019-10-29Use released libc-0.2.58 at crates.ioChih-Hung Hsieh
* Auto generated Android.bp from cargo2android.py. * Release package is different from the current base, which was from a development master. * .cargo_vcs_info.json has the snapshot commit sha. * Cleaned up Cargo.toml, with original version saved. * Source files not used to build the release package are removed. Test: build all rust modules Change-Id: I2290bf6936f5a9bd4fbb87509708e22c8bf5585f
2019-06-02Bump patch version to 0.2.58gnzlbg
2019-05-31Bump patch version to 0.2.57gnzlbg
2019-05-28Bump libc version to 0.2.56gnzlbg
2019-05-24Deprecate `use_std` cargo feature: use `std` instead .gnzlbg
Related to #657 .
2019-05-16Bump version to 0.2.55Jeremy Soller
2019-05-02Bump patch version to 0.2.54gnzlbg
2019-04-26Bump to 0.2.53Dan Gohman
This adds more WASI support, and in particular adds support for WASI being a target_os rather than a target_env, which relates to this PR: https://github.com/rust-lang/rust/pull/60117
2019-04-19Bump to 0.2.52Jeremy Soller
2019-03-28Bump to 0.2.51Alex Crichton
2019-03-04Bump libc versionleo60228
2019-02-13Bump libc versiongnzlbg
2019-02-07Fix build on all platformsgnzlbg
This PR fixes the build on all platforms and all Rust version down to the minimum Rust version supported by libc: Rust 1.13.0. The `build.rs` is extended with logic to detect the newer Rust features used by `libc` since Rust 1.13.0: * Rust 1.19.0: `untagged_unions`. APIs using untagged unions are gated on `cfg(libc_unions)` and not available on older Rust versions. * Rust 1.25.0: `repr(align)`. Because `repr(align)` cannot be parsed by older Rust versions, all uses of `repr(align)` are split into `align.rs` and `no_align.rs` modules, which are gated on the `cfg(libc_align)` at the top level. These modules sometimes contain macros that are expanded at the top level to avoid privacy issues (`pub(crate)` is not available in older Rust versions). Closes #1242 . * Rust : `const` `mem::size_of`. These uses are worked around with hardcoded constants on older Rust versions. Also, `repr(packed)` structs cannot automatically `derive()` some traits like `Debug`. These have been moved into `s_no_extra_traits!` and the lint of missing `Debug` implementations on public items is silenced for these. We can manually implement the `extra_traits` for these in a follow up PR. This is tracked in #1243. Also, `extra_traits` does not enable `align` manually anymore. Since `f64::to_bits` is not available in older Rust versions, its usage has been replaced with a `transmute` to an `u64` which is what that method does under the hood. Closes #1232 .
2019-02-02Implement PartialEq,Eq for all typesBryant Mairs
2019-01-23Bump to 0.2.48gnzlbg
2019-01-14Bump version to 0.2.47Jeremy Soller
2019-01-02Bump version to 0.2.46John Paul Adrian Glaubitz
2018-12-09Fix build on x86_64-unknown-cloudabi, bump versionAlex Crichton
2018-11-22Use crates.io keywords and categoriesgnzlbg
Closes #651 .
2018-11-21Prepare for being included via crates.io into stdAlex Crichton
This commit prepares the `libc` crate to be included directly into the standard library via crates.io. More details about this can be found on rust-lang/rust#56092, but the main idea is that this crate now depends on core/compiler-builtins explicitly (but off-by-default). The main caveat here is that this activates `no_core` when building as part of libstd, which means that it needs to explicitly have an `iter` and `option` module for the expansion of `for` loops to work.
2018-11-16use OR in the license fieldArtyom Pavlov
2018-10-26exclude CI files from crates.ioIgor Gnatenko
2018-09-18Re-export core::ffi::c_void if supportedIsaac Woods
2018-08-06Bump version to 0.2.43Linus Färnstrand
2018-07-29Add align feature and use on in6_addrLinus Färnstrand
2018-06-01Bump version to 0.2.42Jeremy Soller
2018-05-21Bump to 0.2.41Linus Färnstrand
2018-03-18Bump to 0.2.40Francis Gagné
2018-03-05Add FreeBSD `get[pw|gr]ent_r`, forgotten in #934Fredrick Brennan
Sorry, accidentally forgot this when submitting #934..
2018-03-03Add passwd/group APIs needed for nix-rust/nix#864Fredrick Brennan
2018-02-260.2.37 for releaseBenjamin Fry
2018-01-11Update libc versionGuillaume Gomez
2018-01-04Bump to 0.2.35Josh Driver
2017-11-30Bump to 0.2.34Alex Crichton
2017-10-28Bump to 0.2.33Andrew Tunnell-Jones
2017-10-13Add `project_name` attribute to appveyor badge.Trevor Reiff