From 95987e592ce11f23d091ca8ebc645a4e26e2c21f Mon Sep 17 00:00:00 2001 From: Patrick Stevens <3138005+Smaug123@users.noreply.github.com> Date: Sat, 30 Aug 2025 17:05:57 +0100 Subject: [PATCH] Upgrade flake (#125) --- WoofWare.PawPrint/Intrinsics.fs | 2 ++ WoofWare.PawPrint/NullaryIlOp.fs | 1 + flake.lock | 6 +++--- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/WoofWare.PawPrint/Intrinsics.fs b/WoofWare.PawPrint/Intrinsics.fs index 972fc6b..b0acc62 100644 --- a/WoofWare.PawPrint/Intrinsics.fs +++ b/WoofWare.PawPrint/Intrinsics.fs @@ -27,6 +27,8 @@ module Intrinsics = "System.Private.CoreLib", "Math", "Max" // https://github.com/dotnet/runtime/blob/d258af50034c192bf7f0a18856bf83d2903d98ae/src/libraries/System.Private.CoreLib/src/System/Buffer.cs#L150 "System.Private.CoreLib", "Buffer", "Memmove" + // https://github.com/dotnet/runtime/blob/1c3221b63340d7f81dfd829f3bcd822e582324f6/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs#L799 + "System.Private.CoreLib", "Thread", "get_CurrentThread" ] |> Set.ofList diff --git a/WoofWare.PawPrint/NullaryIlOp.fs b/WoofWare.PawPrint/NullaryIlOp.fs index 478559b..f97b57c 100644 --- a/WoofWare.PawPrint/NullaryIlOp.fs +++ b/WoofWare.PawPrint/NullaryIlOp.fs @@ -924,6 +924,7 @@ module NullaryIlOp = let state = match referenced with + | CliType.RuntimePointer (CliRuntimePointer.Managed _) | CliType.ObjectRef _ -> IlMachineState.pushToEvalStack referenced currentThread state | _ -> failwith $"Unexpected non-reference {referenced}" |> IlMachineState.advanceProgramCounter currentThread diff --git a/flake.lock b/flake.lock index 29464f8..5a03c32 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1755736253, - "narHash": "sha256-jlIQRypNhB1PcB1BE+expE4xZeJxzoAGr1iUbHQta8s=", + "lastModified": 1756381814, + "narHash": "sha256-tzo7YvAsGlzo4WiIHT0ooR59VHu+aKRQdHk7sIyoia4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "596312aae91421d6923f18cecce934a7d3bfd6b8", + "rev": "aca2499b79170038df0dbaec8bf2f689b506ad32", "type": "github" }, "original": {