Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Missing dylib error in tests of plugin crate #874

Closed
sfackler opened this issue May 18, 2018 · 2 comments
Closed

Missing dylib error in tests of plugin crate #874

sfackler opened this issue May 18, 2018 · 2 comments
Labels

Comments

@sfackler
Copy link
Member

rls-preview 0.128.0-nightly (3e3df04 2018-05-16)

Running nightly RLS on the phf repo results in errors in the tests and benchmarks of the compiler plugin crate:

plugin `phf_macros` only found in rlib format, but must be available in dylib format

https://github.com/sfackler/rust-phf

@nrc nrc added the bug label May 23, 2018
@nrc
Copy link
Member

nrc commented May 23, 2018

The Cargo.toml has plugin = true which should cause Cargo to emit a dylib rather than an rlib, but in the RLS this seems not to happen. I think this will only affect programs using 'old' proc macros.

@nrc
Copy link
Member

nrc commented May 23, 2018

Note for self, correct command line:

rustc --crate-name phf_macros phf_macros/src/lib.rs --crate-type dylib --emit=dep-info,link -C prefer-dynamic -C debuginfo=2 -C metadata=4cc3765a8491e8fa --out-dir /Users/nick/version-controlled/rust-phf/target/debug/deps -C incremental=/Users/nick/version-controlled/rust-phf/target/debug/incremental -L dependency=/Users/nick/version-controlled/rust-phf/target/debug/deps --extern phf_generator=/Users/nick/version-controlled/rust-phf/target/debug/deps/libphf_generator-eb9d9deadb6e6691.rlib --extern phf_shared=/Users/nick/version-controlled/rust-phf/target/debug/deps/libphf_shared-79716c11db71145b.rlib

Note: --crate-type dylib

@nrc nrc closed this as completed in 87388b9 May 25, 2018
bors added a commit that referenced this issue Feb 5, 2019
…r=Xanewok

Bump tokio-timer from 0.2.9 to 0.2.10

Bumps [tokio-timer](https://github.com/tokio-rs/tokio) from 0.2.9 to 0.2.10.
<details>
<summary>Commits</summary>

- [`a69aca8`](tokio-rs/tokio@a69aca8) Bump tokio-timer v0.2.10 ([#886](https://github-redirect.dependabot.com/tokio-rs/tokio/issues/886))
- [`13c9618`](tokio-rs/tokio@13c9618) tokio-timer: Fix multi reset DelayQueue bug ([#871](https://github-redirect.dependabot.com/tokio-rs/tokio/issues/871))
- [`61d4aa9`](tokio-rs/tokio@61d4aa9) docs: replace `Prepends` with `Appends` ([#882](https://github-redirect.dependabot.com/tokio-rs/tokio/issues/882))
- [`9d6d142`](tokio-rs/tokio@9d6d142) Bump tokio-sync v0.1.1 ([#881](https://github-redirect.dependabot.com/tokio-rs/tokio/issues/881))
- [`95b0eec`](tokio-rs/tokio@95b0eec) sync: bounded channel can not have 0 size ([#879](https://github-redirect.dependabot.com/tokio-rs/tokio/issues/879))
- [`e1a07ce`](tokio-rs/tokio@e1a07ce) threadpool: update crossbeam dependencies ([#874](https://github-redirect.dependabot.com/tokio-rs/tokio/issues/874))
- See full diff in [compare view](tokio-rs/tokio@tokio-timer-0.2.9...tokio-timer-0.2.10)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=tokio-timer&package-manager=cargo&previous-version=0.2.9&new-version=0.2.10)](https://dependabot.com/compatibility-score.html?dependency-name=tokio-timer&package-manager=cargo&previous-version=0.2.9&new-version=0.2.10)

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 cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@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 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 the `.dependabot/config.yml` file in this repo:
- 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>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants