Skip to content

Commit

Permalink
Add lld to Nix for faster builds; Remove redundant import
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Ramirez committed Sep 25, 2020
1 parent ba11340 commit 221cae2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/builtins/bitcode/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
#![crate_type = "lib"]
#![no_std]

use libm;

/// TODO replace this with a normal Inkwell build_cast call - this was just
/// used as a proof of concept for getting bitcode importing working!
#[no_mangle]
Expand Down
2 changes: 2 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ let
pkgs.libffi
pkgs.libxml2
pkgs.zlib
# faster builds - see /~https://github.com/rtfeldman/roc/blob/trunk/BUILDING_FROM_SOURCE.md#use-lld-for-the-linker
pkgs.lld_9
];
in pkgs.mkShell {
buildInputs = inputs ++ darwin-frameworks;
Expand Down

0 comments on commit 221cae2

Please sign in to comment.