Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Fix cargo build on Mac OSX with latest rust nightly #239

Merged
merged 1 commit into from
Jun 24, 2018

Conversation

anglinb
Copy link
Contributor

@anglinb anglinb commented Jun 24, 2018

👋 Just checking out polkadot for the first time and ran into an error building with cargo build for the first time. With my version of rustc, rustc 1.27.0 (3eda71b00 2018-06-19), on Mac OSX 10.13.5 I got the following error:

error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? (see issue #27812)

I followed the discussion in the rust-lang repo and I updated the Cargo.toml in the substrate/telemetry directory to fix the error.

image

@gavofyork gavofyork merged commit 097fc81 into paritytech:master Jun 24, 2018
@gavofyork
Copy link
Member

Was actually just a dupe of my fix which already went in, but thanks for the PR :)

@anglinb
Copy link
Contributor Author

anglinb commented Jun 24, 2018

Haha oh thanks for still keeping the commit :D

lamafab pushed a commit to lamafab/substrate that referenced this pull request Jun 16, 2020
* Slots module

* Integrate slots

* More drafting

* Minor updates

* Update parachains to use trati

* More build fixes

* Full code now compiles

* Add renew bid function

* Implement calculate_winner

* Warning remove

* Update gitignore

* Test framework

* Tests

* Further testing

* More tests, new parameterisation.

* Fix and new test

* Thread-safe tests

* Test off-boarding and a fix.

* Test onboarding

* Allow late onboarding.

* Another test and fix

* Avoid println in nostd

* Compact representation of paraids

* Introduce documentation.

* Introduce events.

* Additional test and fix

* Additional test

* Tidy up line lengths.

* Remove printlns

* Use later substrate utils.

* Fix build/test

* Make slots work with latest substrate

* Update runtime/src/slot_range.rs

Co-Authored-By: Robert Habermeier <rphmeier@gmail.com>

* Update runtime/src/slots.rs

Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com>

* Update runtime/src/slots.rs

Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com>

* Polish logic

* Rewind to earlier substrate master

* Remove dead code.
JoshOrndorff pushed a commit to moonbeam-foundation/substrate that referenced this pull request Apr 21, 2021
* Specify --release when running clippy in CI

* Move code checks into build job
helin6 pushed a commit to boolnetwork/substrate that referenced this pull request Jul 25, 2023
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants