)]}'
{
  "commit": "2fa2746aca02b97ce49e72ac529c16d709cee92f",
  "tree": "ea3aa02c9772cff37702bb4bf7c5d50ac9165ca8",
  "parents": [
    "942ac9ce4116d4ea784c9882659372b34978b1f8"
  ],
  "author": {
    "name": "bjorn3",
    "email": "17426603+bjorn3@users.noreply.github.com",
    "time": "Mon Jun 22 12:01:34 2026 +0200"
  },
  "committer": {
    "name": "bjorn3",
    "email": "17426603+bjorn3@users.noreply.github.com",
    "time": "Mon Jun 22 16:12:10 2026 +0200"
  },
  "message": "Fix linking for wasm with crate metadata included\n\nOn wasm the crate metadata ends up in a custom section. It is not\npossible to refer to create symbols inside a custom section, so\nattempting to export it during linking will result in a linker error.\nThis keeps the target spec flag to deny compiling rust dylibs for wasm,\nbut may theoretically allow compiling wasm rust dylibs with a custom\ntarget spec. It will help with wasm proc-macros. And in the future we\ncan try to flip the only-cdylib option to false on wasm.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bde285c5c18fd9251a505407cf84ac33ced112a0",
      "old_mode": 33188,
      "old_path": "compiler/rustc_codegen_ssa/src/back/linker.rs",
      "new_id": "4041bfaa24cf022b7371253ca5d8bf3286a9f052",
      "new_mode": 33188,
      "new_path": "compiler/rustc_codegen_ssa/src/back/linker.rs"
    }
  ]
}
