Coder Social home page Coder Social logo

Comments (4)

Rahix avatar Rahix commented on September 6, 2024 3

The avr-hal-template is updated to pin the dependency version. New projects generated from the template will no longer run into this problem. Unclear whether this is enough or whether we should do more...

avr-hal itself also needs fixing for the examples.

For documentation, the dependency can be pinned using these lines in Cargo.toml:

# The latest releases of `proc-macro2` do not support the rust toolchain that
# we use.  Thus, we must fix this dependency to an older version where our
# toolchain is still supported.  See https://github.com/Rahix/avr-hal/issues/537
[build-dependencies.proc-macro2]
version = "=1.0.79"

from avr-hal.

Rahix avatar Rahix commented on September 6, 2024 1

So avr-device will need to deal with this for its own CI, too. So maybe the solution is to simply pin proc-macro2 in avr-device-macros so it will solve the problem for each and every downstream crate (See Rahix/avr-device#156).

What does everyone else think about this? Are there any problems with doing this?

from avr-hal.

Rahix avatar Rahix commented on September 6, 2024

Examples in this repository now also have the dependency pin (#544).

from avr-hal.

Rahix avatar Rahix commented on September 6, 2024

From #546: The CI of this project (avr-hal) does not fail on this... Needs to be investigated.

from avr-hal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.