Skip to content

Commit

Permalink
[chore] fix rustflags
Browse files Browse the repository at this point in the history
  • Loading branch information
jfredett committed Jun 22, 2024
1 parent 53cb0a2 commit 83b45d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
modules = [{
languages.rust.enable = true;
languages.rust.channel = "nightly";
languages.rust.components = [ "rustc" "cargo" "clippy" "rustfmt" "rust-analyzer" ];

# FIXME: I would love for this to be part of the Cargo.toml, and not the flake.
languages.rust.rustflags = "-C target-feature=+bmi1,+bmi2";

packages = with pkgs; [
gnuplot
Expand Down

0 comments on commit 83b45d9

Please sign in to comment.