Code Monkey home page Code Monkey logo

Comments (9)

erickt avatar erickt commented on September 25, 2024 2

Syntex v0.34 just came out, which I think contains MacroLoader. I'll see if I can get it working tonight if #83 doesn't do it.

from aster.

erickt avatar erickt commented on September 25, 2024 1

@alexbool: yep! We just released a new serde_codegen and serde_macros.

from aster.

KodrAus avatar KodrAus commented on September 25, 2024

I had a quick look at this, and it looks like it's due to rust-lang/rust@51499b6

@erickt @dtolnay Is there going to be extra work needed in syntex to expose something like the newly public MacroLoader in rustc_metadata, and will that affect what the ExtCtxt does?

from aster.

nubis avatar nubis commented on September 25, 2024

I gave it a go using the DummyMacroLoader but I closed my pull request because I'm not sure it is what is needed. Maybe someone more experienced with these crates can have a look? #83

from aster.

KodrAus avatar KodrAus commented on September 25, 2024

Keen to see the implementation, I'm not familiar with MacroLoader so don't know what it does

from aster.

dtolnay avatar dtolnay commented on September 25, 2024

Doesn't look like Syntex 0.34 contains MacroLoader - the libsyntax in 0.34 is from 2016-06-07 while MacroLoader merged on 2016-06-09.

from aster.

alexbool avatar alexbool commented on September 25, 2024

Thanks!
I guess now you also have to push a new serde release?

from aster.

alexbool avatar alexbool commented on September 25, 2024

Thank you very much!

from aster.

dtolnay avatar dtolnay commented on September 25, 2024

@nubis @KodrAus in case you are still curious, here is the fix that Erick ended up making: syntex/src/lib.rs

from aster.

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.