Commit 5301f34c authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files
parent 84aaff60
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
diff --git a/.cargo/config.toml b/.cargo/config.toml
index dde3bc53f..693808c6e 100644
index 0ab50ad46..3f5fe0788 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,15 +1,10 @@
@@ -9,7 +9,7 @@ index dde3bc53f..693808c6e 100644
 [target.aarch64-apple-darwin]
 rustflags = [
-  "-C", "target-cpu=native",
   "-C", "target-feature=+aes,+sha2,+fp16",
   "-C", "target-feature=+aes,+sha2,+fp16,+i8mm",
 ]
 
 [target.x86_64-apple-darwin]
+3 −3
Original line number Diff line number Diff line
@@ -74,13 +74,13 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "mistral-rs";
  version = "0.7.0";
  version = "0.8.0";

  src = fetchFromGitHub {
    owner = "EricLBuehler";
    repo = "mistral.rs";
    tag = "v${finalAttrs.version}";
    hash = "sha256-2gE3LRm2oy6H+y6dRNnwYIjlaG67it16bfhfTk4CUTc=";
    hash = "sha256-WuDvD2ifk0AtB4fpgLqQSiXVfb/50M9oIuz738pdsis=";
  };

  patches = [
@@ -96,7 +96,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
          "lto = false"
    '';

  cargoHash = "sha256-nktoMh07PfGJ156XrKa1N/icB634cr9ybsHq/y9zHKo=";
  cargoHash = "sha256-MzGU62v6ZvVzTN7Ra+zz1uNlk4ul09YG5Hbj2A7hZbY=";

  nativeBuildInputs = [
    pkg-config