The Lemmy Club
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Arbitrary@reddthat.com to Rust@programming.dev · 2 年前

Rust Foundation Security Initiative Report

foundation.rust-lang.org

external-link
message-square
12
link
fedilink
30
external-link

Rust Foundation Security Initiative Report

foundation.rust-lang.org

Arbitrary@reddthat.com to Rust@programming.dev · 2 年前
message-square
12
link
fedilink
  • RunAwayFrog@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 年前

    Hello kornel.

    Assuming you have the data, do you mind sharing how many crates in their latest version use compiler plugins?

    • kornel@lemmyrs.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 年前

      At least 69K, which is over half of all crates — https://lib.rs/quote is used almost exclusively for output of proc macros.

      • RunAwayFrog@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 年前

        Oh, we are calling proc-macro crates “compiler plugins”! I didn’t realize.

        • kornel@lemmyrs.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          2 年前

          They are dlopened by the rustc process. You can totally mess with it: https://nitter.net/m_ou_se/status/1368632701448818691

          • RunAwayFrog@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 年前

            I’m aware.

            I just find calling the average proc-macro crate a “compiler plugin” a little bit baffling/confusing.

            Isn’t the term “compiler plugin” reserved for crates/tools that depend on rustc, like clippy?

Rust@programming.dev

rust@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 8 users / day
  • 66 users / week
  • 356 users / month
  • 2.86K users / 6 months
  • 7 local subscribers
  • 7.26K subscribers
  • 1.03K Posts
  • 4.83K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • BE: 0.19.12
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org