-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure for some --target
values
#442
Labels
C-bug
Category: bug
Comments
This looks like it's because cargo is attempting to discover the dylib prefix/suffix, but it's being dropped for iOS. The relevant code is here and it would mean that cargo needs to understand that some targets don't have dylibs. |
alexcrichton
added a commit
to alexcrichton/cargo
that referenced
this issue
Sep 2, 2014
Discovering the prefix/suffix needs to understand that it's not actually available. Closes rust-lang#442
bors
added a commit
that referenced
this issue
Sep 3, 2014
Discovering the prefix/suffix needs to understand that it's not actually available. Closes #442
bors
added a commit
that referenced
this issue
Nov 7, 2019
… r=alexcrichton Update crossbeam-utils requirement from 0.6 to 0.7 Updates the requirements on [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) to permit the latest version. <details> <summary>Changelog</summary> *Sourced from [crossbeam-utils's changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md).* > # Version 0.7.0 > > - Remove `ArcCell`, `MsQueue`, and `TreiberStack`. > - Change the interface of `ShardedLock` to match `RwLock`. > - Add `SegQueue::len()`. > - Rename `SegQueue::try_pop()` to `SegQueue::pop()`. > - Change the return type of `SegQueue::pop()` to `Result`. > - Introduce `ArrayQueue`. > - Update dependencies. > > # Version 0.6.0 > > - Update dependencies. > > # Version 0.5.0 > > - Update `crossbeam-channel` to 0.3. > - Update `crossbeam-utils` to 0.6. > - Add `AtomicCell`, `SharedLock`, and `WaitGroup`. > > # Version 0.4.1 > > - Fix a double-free bug in `MsQueue` and `SegQueue`. > > # Version 0.4 > > - Switch to the new implementation of epoch-based reclamation in > [`crossbeam-epoch`](https://github.com/crossbeam-rs/crossbeam-epoch), fixing numerous bugs in the > old implementation. Its API is changed in a backward-incompatible way. > - Switch to the new implementation of `CachePadded` and scoped thread in > [`crossbeam-utils`](https://github.com/crossbeam-rs/crossbeam-utils). The scoped thread API is > changed in a backward-incompatible way. > - Switch to the new implementation of Chase-Lev deque in > [`crossbeam-deque`](https://github.com/crossbeam-rs/crossbeam-deque). Its API is changed in a > backward-incompatible way. > - Export channel implemented in > [`crossbeam-channel`](https://github.com/crossbeam-rs/crossbeam-channel). > - Remove `AtomicOption`. > - Implement `Default` and `From` traits. > > # Version 0.3 > > - Introduced `ScopedThreadBuilder` with the ability to name threads and set stack size > - `Worker` methods in the Chase-Lev deque don't require mutable access anymore > - Fixed a bug when unblocking `pop()` in `MsQueue` > - Implemented `Drop` for `MsQueue`, `SegQueue`, and `TreiberStack` > - Implemented `Default` for `TreiberStack` > - Added `is_empty` to `SegQueue` > - Renamed `mem::epoch` to `epoch` > - Other bug fixes ></tr></table> ... (truncated) </details> <details> <summary>Commits</summary> - [`28ad2b7`](crossbeam-rs/crossbeam@28ad2b7) Update versions in readmes - [`c98fea1`](crossbeam-rs/crossbeam@c98fea1) Merge [#444](https://github-redirect.dependabot.com/crossbeam-rs/crossbeam/issues/444) - [`d953f49`](crossbeam-rs/crossbeam@d953f49) Add compatibility section to readme - [`c76f145`](crossbeam-rs/crossbeam@c76f145) Prepare for the next release - [`99762ee`](crossbeam-rs/crossbeam@99762ee) Merge [#442](https://github-redirect.dependabot.com/crossbeam-rs/crossbeam/issues/442) - [`ebb6b5f`](crossbeam-rs/crossbeam@ebb6b5f) Do not perform superfluous bounds checks on drop - [`d2ab7a5`](crossbeam-rs/crossbeam@d2ab7a5) Update LICENSE-APACHE - [`f54db88`](crossbeam-rs/crossbeam@f54db88) Merge [#437](https://github-redirect.dependabot.com/crossbeam-rs/crossbeam/issues/437) - [`caa52c4`](crossbeam-rs/crossbeam@caa52c4) Merge [#436](https://github-redirect.dependabot.com/crossbeam-rs/crossbeam/issues/436) - [`af68803`](crossbeam-rs/crossbeam@af68803) Merge [#438](https://github-redirect.dependabot.com/crossbeam-rs/crossbeam/issues/438) - Additional commits viewable in [compare view](crossbeam-rs/crossbeam@crossbeam-utils-0.6.0...crossbeam-utils-0.7.0) </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`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <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 recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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 use this milestone` will set the current milestone 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) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </details>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To be precise - it fails if target is different from host, i.e.
while
cargo build --target=x86_64-apple-darwin
works fine.Running
cargo build --target=x86_64-unknown-linux-gnu --verbose
returns something like this:The thing is that
rustc
was built witharm-apple-ios
support and withoutx86_64-unknown-linux-gnu
.The text was updated successfully, but these errors were encountered: