Skip to content

Could not find naked_asm in arch #124

@micartey

Description

@micartey

When I try to update my flake, I get this error:

 ...
 Compiling default-env v0.1.1
       > error[E0433]: failed to resolve: could not find `naked_asm` in `arch`
       >    --> src/arch.rs:145:25
       >     |
       > 145 |             core::arch::naked_asm!(
       >     |                         ^^^^^^^^^ could not find `naked_asm` in `arch`
       >
       > For more information about this error, try `rustc --explain E0433`.
       > error: could not compile `nix-ld` (bin "nix-ld") due to 1 previous error

The probable cause is this MR that has been merged: #109

My current workaround is to always revert my lock file to:

    "nix-ld": {
      "inputs": {
        "nixpkgs": ["nixpkgs"]
      },
      "locked": {
        "lastModified": 1734943676,
        "narHash": "sha256-j82D0J4XkteyE/nJ+Wn+9eSdnM5RXz+1vWR3XvRN7nY=",
        "owner": "Mic92",
        "repo": "nix-ld",
        "rev": "76cbe0384ce6be86cba9310f617ad3abecc7f67b",
        "type": "github"
      },
      "original": {
        "owner": "Mic92",
        "repo": "nix-ld",
        "type": "github"
      }
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions