From 97c6956d98f9ad8bc6b7480bb8ae670b669407bf Mon Sep 17 00:00:00 2001 From: Syrus Date: Tue, 30 Jul 2019 15:56:25 -0700 Subject: [PATCH] Added llvm in windows support to Changelog --- CHANGELOG.md | 1 + lib/llvm-backend/src/platform/unix.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb9af1487..1eda567ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ All PRs to the Wasmer repository must add to this file. Blocks of changes will separated by version increments. ## **[Unreleased]** +- [#598](https://github.com/wasmerio/wasmer/pull/598) LLVM Backend is now supported in Windows - [#579](https://github.com/wasmerio/wasmer/pull/579) Fix bug in caching with LLVM and Singlepass backends. Add `default-backend-singlepass`, `default-backend-llvm`, and `default-backend-cranelift` features to `wasmer-runtime` to control the `default_compiler()` function (this is a breaking change). Add `compiler_for_backend` function in `wasmer-runtime` diff --git a/lib/llvm-backend/src/platform/unix.rs b/lib/llvm-backend/src/platform/unix.rs index 051869fdd..a07afa130 100644 --- a/lib/llvm-backend/src/platform/unix.rs +++ b/lib/llvm-backend/src/platform/unix.rs @@ -1,8 +1,8 @@ use super::common::round_up_to_page_size; use crate::structs::{LLVMResult, MemProtect}; use libc::{ - mmap, mprotect, munmap, MAP_ANON, MAP_PRIVATE, PROT_EXEC, PROT_NONE, PROT_READ, - PROT_WRITE, c_void, siginfo_t + c_void, mmap, mprotect, munmap, siginfo_t, MAP_ANON, MAP_PRIVATE, PROT_EXEC, PROT_NONE, + PROT_READ, PROT_WRITE, }; use nix::sys::signal::{sigaction, SaFlags, SigAction, SigHandler, SigSet, SIGBUS, SIGSEGV}; use std::ptr;