Commit Graph

6 Commits

Author SHA1 Message Date
Daniel
16441ed70a SimpleJIT - Add a Drop impl to PtrLen (#1001)
* Implement SimpleJIT deallocation for non-windows targets.

* Remove custom Drop from feature(selinux-fix).

* Fix typo in unprotect error message.

* Drop SimpleJIT memory by default and add free_memory method instead.

* Move free_memory to a handle returned by Module::finish.

* Reduce memory handle content to necessary fields only.

* Use lower overhead method for leaking.
2019-11-05 20:12:34 -08:00
Artur Jamro
a64ada7e30 Do not import libc on windows (#848)
* Do not import libc on windows
2019-07-12 15:41:59 -07:00
Benson Chau
6a19866da2 issue #772: added an memmap replacement to support selinux 2019-07-11 18:16:41 -07:00
superriva
5672cd651c Fix mem::uninitialized depricated since 1.38
Fix for `https://github.com/CraneStation/cranelift/issues/826`.
This fix will require 1.36 minimal version for all Cranelift. Right?

Update cranelift-simplejit/src/memory.rs

Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com>

Update memory.rs
2019-07-08 15:21:56 +02:00
bjorn3
cb6268118c Make it possible to define data alignment 2019-04-30 14:06:34 +02:00
lazypassion
747ad3c4c5 moved crates in lib/ to src/, renamed crates, modified some files' text (#660)
moved crates in lib/ to src/, renamed crates, modified some files' text (#660)
2019-01-28 15:56:54 -08:00