Add missing rustdocs for Windows code

This commit is contained in:
Brandon Fish
2019-11-10 16:03:43 -06:00
parent 82ec5e970a
commit ea3b6fa6d7
2 changed files with 20 additions and 0 deletions

View File

@ -133,14 +133,17 @@ unsafe impl Sync for CodeMemory {}
#[cfg(not(unix))]
impl CodeMemory {
/// Creates a new code memory with the given size.
pub fn new(_size: usize) -> CodeMemory {
unimplemented!("CodeMemory::new");
}
/// Makes this code memory executable.
pub fn make_executable(&self) {
unimplemented!("CodeMemory::make_executable");
}
/// Makes this code memory writable.
pub fn make_writable(&self) {
unimplemented!("CodeMemory::make_writable");
}