mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
pipe target information through
This commit is contained in:
parent
d8d4522b16
commit
98c672bbde
4 changed files with 112 additions and 18 deletions
|
@ -221,7 +221,7 @@ pub fn gen_from_mono_module(
|
|||
|
||||
use target_lexicon::Architecture;
|
||||
match target.architecture {
|
||||
Architecture::X86_64 | Architecture::Aarch64(_) => {
|
||||
Architecture::X86_64 | Architecture::X86_32(_) | Architecture::Aarch64(_) => {
|
||||
// assemble the .ll into a .bc
|
||||
let _ = Command::new("llvm-as")
|
||||
.args(&[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue