Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Nemeski@mander.xyz to Rust@programming.dev · 14 days ago

Switching to Rust's own mangling scheme on nightly

blog.rust-lang.org

external-link
message-square
6
fedilink
42
external-link

Switching to Rust's own mangling scheme on nightly

blog.rust-lang.org

Nemeski@mander.xyz to Rust@programming.dev · 14 days ago
message-square
6
fedilink
Switching to Rust's own mangling scheme on nightly | Rust Blog
blog.rust-lang.org
external-link
Empowering everyone to build reliable and efficient software.
  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    13 days ago

    https://doc.rust-lang.org/reference/abi.html#the-no_mangle-attribute https://doc.rust-lang.org/nomicon/other-reprs.html#reprc

    Does no_mangle and repr(c) do that?

    • INeedMana@piefed.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      13 days ago

      Those are good to know, thanks. But as far as I understand, attribute enforces unsafe, repr is more about the data layout. Right?

      But in there, I’ve found https://github.com/mozilla/cbindgen. Wicked

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: !rust@programming.dev

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

Wormhole

!performance@programming.dev

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.

  • 58 users / day
  • 178 users / week
  • 443 users / month
  • 1.24K users / 6 months
  • 1 local subscriber
  • 7.53K subscribers
  • 478 Posts
  • 2.09K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org