Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    QuietMisdreavus
    @QuietMisdreavus
    item_trait takes two Items, so the one you want is m - the other one is the trait itself
    hopefully that all makes sense
    this is arguably the smallest change you could make to rustdoc, but it's still a really useful one
    (saving things like little css changes or typo fixes, i guess)
    Ranveer Aggarwal
    @ranveeraggarwal
    Looks good, thanks! I will clone the repo and get to it :grin:
    QuietMisdreavus
    @QuietMisdreavus
    awesome! let me know if you run into any issues
    Ranveer Aggarwal
    @ranveeraggarwal
    Sure!
    QuietMisdreavus
    @QuietMisdreavus
    since you said you're cloning the repo now, i'll point you to the setup tips in the bottom 2/3 of this post https://quietmisdreavus.net/code/2017/09/18/come-work-on-rustdoc/
    that should help get you most of the way there
    Ranveer Aggarwal
    @ranveeraggarwal
    Awesome, I guess I have everything required. I live in an opposite (D/N) timezone, so it'll be a while until I get back.
    QuietMisdreavus
    @QuietMisdreavus
    oh, no worries
    gitter has persistent server-side logs, so if you leave a question in here i'll see it the next time i'm on
    Ranveer Aggarwal
    @ranveeraggarwal
    Hello! I am trying to build the rust compiler locally, and am stuck on the "Building stage1 std artifacts" stage. I ran a clean-build a couple of times, it's stuck there. Any idea why this could be happening?
    Stuck = 4+ hours, no message on my terminal.
    System spec: MacOS 10.13, 2.7 GHz dual core i5, 8 GB RAM (so I don't think it's because of a slow machine)
    QuietMisdreavus
    @QuietMisdreavus
    oh dear D:
    i've had problems with x.py clean before, what happens if you just torch the build/$TARGET directory entirely? you could probably get away with keeping llvm and native if you don't want to start completely over
    Ranveer Aggarwal
    @ranveeraggarwal
    Hmm, I see. I'll try this out fingers crossed
    Mark Simulacrum
    @Mark-Simulacrum
    @ranveeraggarwal I'd try something like find build -name '.cargo-lock' -delete
    If you kill Cargo at the wrong point it will indefinitely wait for a nonexistent cargo to finish
    Ranveer Aggarwal
    @ranveeraggarwal
    I actually torched the build folder and tried rebuilding. Same problem :/
    Daan Rijks
    @ijks
    Hey! I'm interested in working on rustdoc. I'd say my Rust is at an intermediate level. What are some issues I could look at?
    QuietMisdreavus
    @QuietMisdreavus
    @ijks hey, sorry for missing this yesterday! i'll see if i can dig up something for you later today
    in the meantime, if you want to get familiar with the code, the best place to dig around is src/librustdoc/html/render.rs in the rust-lang/rust repo
    that's where most of the code that creates the HTML is
    QuietMisdreavus
    @QuietMisdreavus
    each individual kind of page goes through this Display impl here and gets dispatched to one of these functions to fill it in https://github.com/rust-lang/rust/blob/master/src/librustdoc/html/render.rs#L1759-L1773
    Daan Rijks
    @ijks
    @QuietMisdreavus Thanks! I'll take a look at that tomorrow.