Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • About Bonfire
Giacomo Leidi
Giacomo Leidi boosted
nmeum 馃敎 39c3
@nmeum@chaos.social  路  activity timestamp 4 days ago

There is a fun footgun related to compile-time code generation using procedural macros in Rust: if the macro has non-deterministic behavior, then the build process of any crate using it is not reproducible.

Here's a little write-up explaining how I uncovered such an issue in the hashify crate while trying to package Rust software for Guix: https://notes.8pit.net/notes/iqfs.html

#Guix #Rust #reproducibility #ReproducibleBuilds

Debugging Reproducibility Issues in Rust Software

  • Copy link
  • Flag this post
  • Block
nmeum 馃敎 39c3
@nmeum@chaos.social  路  activity timestamp 4 days ago

There is a fun footgun related to compile-time code generation using procedural macros in Rust: if the macro has non-deterministic behavior, then the build process of any crate using it is not reproducible.

Here's a little write-up explaining how I uncovered such an issue in the hashify crate while trying to package Rust software for Guix: https://notes.8pit.net/notes/iqfs.html

#Guix #Rust #reproducibility #ReproducibleBuilds

Debugging Reproducibility Issues in Rust Software

  • Copy link
  • Flag this post
  • Block
Log in

Open Science Network

A network of scientists, researchers and developers building the next generation of open science digital spaces.

Open Science Network: About 路 Code of conduct 路 Privacy 路
Bonfire open science 路 1.0.0-rc.3 no JS en
Automatic federation enabled
  • Explore
  • About
  • Code of Conduct
Home
Login