summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | FIO* for *-apple-*alecmocatta2018-07-302-2/+9
|/ / / /
* | | | Auto merge of #1044 - faern:modern-alignment, r=alexcrichtonbors2018-07-3026-515/+886
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add alignment feature and use #[repr(align(x))] Trying to solve #1042. Here I introduce the discussed feature that will allow going from struct alignment with a private `__align` field to using `#[repr(align(x))]`. However, I have not implemented it for all structs that require alignment yet, only `in6_addr`. This because I did not want to spend too much time before we have discussed and solved the remaining questions regarding this. One thing to discuss is testing. I have so far not done anything to the CI scripts. So currently they will still test the crate only with the `align` feature disabled. Thus they will make sure the `__align` fields are still correct. But no automatic tests make sure everything is correct when the `align` feature is turned on. What do we want to do about that? Can we insert another `cargo test` with `--features align` to make all the Travis jobs run the test suite twice, or will that slow things down too much? I have tried using this version of libc in rustc and the standard library. And successfully changed `Ipv6Addr::new` to not use any `unsafe` and to become a `const fn`. Whether or not we want that is out of scope for this PR, but my point was that the changes introduced with this PR allow much more flexible usage of the libc structs that have alignment.
| * | | Describe the align feature in the readmeLinus Färnstrand2018-07-301-0/+10
| | | |
| * | | Add align feature to pthread structsLinus Färnstrand2018-07-2916-514/+832
| | | |
| * | | Add align feature to sem_t structLinus Färnstrand2018-07-296-0/+30
| | | |
| * | | Add testing with align featureLinus Färnstrand2018-07-292-1/+6
| | | |
| * | | Add align feature and use on in6_addrLinus Färnstrand2018-07-295-0/+8
|/ / /
* | | Auto merge of #1047 - kubo39:posix-spawn-apple-extension, r=alexcrichtonbors2018-07-291-0/+4
|\ \ \ | | | | | | | | | | | | Add some posix_spawn apple extension flags
| * | | Add some posix_spawn apple extension flagsHiroki Noda2018-07-291-0/+4
|/ / /
* | | Auto merge of #1045 - Amanieu:revert_musl_libgcc, r=alexcrichtonbors2018-07-221-12/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | Revert "Link to libgcc when statically linking musl" This causes linker errors due to duplicated symbols. See https://github.com/rust-lang/rust/pull/52157
| * | | Revert "Link to libgcc when statically linking musl"Amanieu d'Antras2018-07-211-12/+0
|/ / / | | | | | | | | | This reverts commit 920cfeace9918c47cdd42214fda545f4a284cded.
* | | Auto merge of #1041 - bachp:module-init, r=alexcrichtonbors2018-07-188-25/+38
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add MODULE_INIT_ constants These are flags required to implement the linux kernel loading mechanism. Specifically finit_module.
| * | | provide linux/module.h in debian sparc64 buildPascal Bach2018-07-181-1/+4
| | | |
| * | | use new headers for musl buildPascal Bach2018-07-184-16/+17
| | | |
| * | | Update musl ci jobs to 1.1.19Pascal Bach2018-07-174-11/+11
| | | |
| * | | Add linux/module.h to test buildPascal Bach2018-07-171-0/+1
| | | |
| * | | Add MODULE_INIT_ constantsPascal Bach2018-07-172-0/+8
|/ / / | | | | | | | | | | | | These are flags required to implement the linux kernel loading mechanism. Specifically finit_module.
* | | Auto merge of #1039 - alesharik:master, r=alexcrichtonbors2018-07-176-5/+264
|\ \ \ | | | | | | | | | | | | Implement statfs for dragonfly, freebsd and openbsd
| * | | Bump ctest versionalesharik2018-07-171-1/+1
| | | |
| * | | Implement statfs for dragonfly, freebsd and openbsdalesharik2018-07-175-4/+263
| | | |
* | | | Auto merge of #1040 - semarie:openbsd-fix, r=alexcrichtonbors2018-07-165-21/+26
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Openbsd fix put in several fixes for OpenBSD (one fix per commit). testsuite ran on OpenBSD 6.3-current (upcoming 6.4) ``` RUNNING ALL TESTS PASSED 6474 tests ```
| * | | remove ignore for published OpenBSD versionsSébastien Marie2018-07-141-6/+0
| | | |
| * | | fix struct arphdr alignment on OpenBSDSébastien Marie2018-07-143-9/+17
| | | |
| * | | adjust SIGSTKSZ value for OpenBSD 6.3-currentSébastien Marie2018-07-141-1/+1
| | | |
| * | | add HW_NCPUONLINE sysctl (number of cpus being used) on OpenBSDSébastien Marie2018-07-141-0/+1
| | | |
| * | | add KERN_AUDIO and inc KERN_MAXID on OpenBSDSébastien Marie2018-07-141-1/+2
| | | |
| * | | TCP_KEEP* constants are netbsd specificSébastien Marie2018-07-142-4/+5
|/ / / | | | | | | | | | they doesn't exists on OpenBSD. put them under NetBSD specific tree.
* | | Auto merge of #1038 - Amanieu:fix_netbsd, r=alexcrichtonbors2018-07-122-3/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix netbsd build with "stdbuild" A bug was introduced in #930 which caused netbsd to not link to libm. r? @alexcrichton
| * | | Disable test for --no-default-features on rumprunAmanieu d'Antras2018-07-121-1/+5
| | | |
| * | | Fix netbsd build with "stdbuild"Amanieu d'Antras2018-07-121-2/+2
|/ / /
* | | Auto merge of #1037 - alexcrichton:fix, r=alexcrichtonbors2018-07-101-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | Fix a #[cfg] attribute It looks like this was a mistake of #930 but should be easy to fix!
| * | | Fix a #[cfg] attributeAlex Crichton2018-07-101-1/+1
|/ / / | | | | | | | | | It looks like this was a mistake of #930 but should be easy to fix!
* | | Auto merge of #1034 - Amanieu:musl_libgcc, r=alexcrichtonbors2018-07-091-0/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Link to libgcc when statically linking musl On some architectures (e.g. aarch64) musl depends on some libgcc functions (`__addtf3`, `__multf3`, `__subtf3`) for `long double` arithmetic that it uses internally. Unfortunately we don't provide these functions in compiler-builtins, so we instead need to get them from libgcc. Fixes: https://github.com/rust-lang/rust/issues/46651 https://github.com/rust-lang-nursery/compiler-builtins/issues/201 https://github.com/rust-lang-nursery/compiler-builtins/issues/217
| * | | Link to libgcc when statically linking muslAmanieu d'Antras2018-07-081-0/+12
| | | |
* | | | Auto merge of #1035 - rust-lang:dependabot/cargo/ctest-5c53723, r=alexcrichtonbors2018-07-061-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump ctest from `482c7f0` to `5c53723` Bumps [ctest](https://github.com/alexcrichton/ctest) from `482c7f0` to `5c53723`. <details> <summary>Commits</summary> - [`5c53723`](https://github.com/alexcrichton/ctest/commit/5c537236d150da311d67b8ccf4c3c49987b92c8d) Update libc dep - See full diff in [compare view](https://github.com/alexcrichton/ctest/compare/482c7f0643942174a802d89ad7d460e89b576ed3...5c537236d150da311d67b8ccf4c3c49987b92c8d) </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. --- **Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit. You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com). <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details>
| * | | | Bump ctest from `482c7f0` to `5c53723`dependabot[bot]2018-07-061-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Bumps [ctest](https://github.com/alexcrichton/ctest) from `482c7f0` to `5c53723`. - [Release notes](https://github.com/alexcrichton/ctest/releases) - [Commits](https://github.com/alexcrichton/ctest/compare/482c7f0643942174a802d89ad7d460e89b576ed3...5c537236d150da311d67b8ccf4c3c49987b92c8d) Signed-off-by: dependabot[bot] <support@dependabot.com>
* | | | Auto merge of #1033 - SmilingNavern:add_packet_mreq, r=alexcrichtonbors2018-07-061-0/+16
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | Add if_packet.h headers Some structs for implementing af_packet(7)
| * | | Fix type + style fix style issuesAlexander Danilov2018-07-061-3/+1
| | | |
| * | | Add if_packet.h headersAlexander Danilov2018-07-061-0/+18
|/ / / | | | | | | | | | Some structs for implementing af_packet(7)
| * | Fixed lint errorsdebris2018-07-051-2/+2
| | |
| * | Add exchangedata for bsddebris2018-07-051-0/+3
|/ /
* | Auto merge of #1031 - dusxmt:add-platform-linux-musl-ppc32, r=alexcrichtonbors2018-07-056-85/+1127
|\ \ | | | | | | | | | | | | | | | Add linux musl powerpc (32-bit) support This change adds support for musl on 32-bit powerpc. Most of the general constants in src/unix/notbsd/linux/musl/b32/mod.rs were different from those of the powerpc port, so I moved them over to the individual architecture-specific submodules. The same with the ipc_perm structure.
| * | Add linux musl powerpc (32-bit) supportMarek Benc2018-07-056-85/+1127
|/ /
* | Auto merge of #1030 - mati865:android_enoattr, r=alexcrichtonbors2018-07-052-1/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | Add ENOATTR for Android PR based on https://github.com/rust-lang/libc/pull/594 It's defined in Android sysroot so it should work without test workaround (CI should catch it otherwise?).
| * | Add ENOATTR for AndroidMateusz Mikuła2018-07-042-1/+4
|/ /
* | Auto merge of #1029 - alexcrichton:no-custom-attr, r=alexcrichtonbors2018-07-031-1/+1
|\ \ | | | | | | | | | | | | | | | Remove `#![custom_attribute]` No longer needed by the looks of it!
| * | Remove `#![custom_attribute]`Alex Crichton2018-07-031-1/+1
|/ / | | | | | | No longer needed by the looks of it!
* | Auto merge of #1027 - bcko:patch-1, r=alexcrichtonbors2018-07-011-1/+3
|\ \ | | | | | | | | | | | | | | | added badges added Documentation, Latest Version, License badges similar to rand crate. https://crates.io/crates/rand
| * | added badgesBC Ko2018-06-301-1/+3
| | | | | | | | | added Documentation, Latest Version, License badges similar to rand crate. https://crates.io/crates/rand
* | | Auto merge of #1028 - est31:master, r=alexcrichtonbors2018-07-011-0/+135
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-add aarch64 stuff removed by previous PR Previous PR #1023 has removed stuff from mod.rs and added it to some submodules, but missed the aarch64 submodule. This caused a build failure for rust on aarch64, see https://github.com/rust-lang/rust/pull/51864. This copies the stuff that that commit added to the x86_64.rs submodule and puts it into aarch64.rs. It's been tested in the rust-lang/rust PR above: https://travis-ci.org/rust-lang/rust/builds/398750336