fix compilation on macos/windows
This commit is contained in:
parent
c50d3e3fca
commit
4a2d22bdb1
2 changed files with 3 additions and 2 deletions
|
|
@ -158,6 +158,7 @@ mod imp {
|
|||
#[cfg(target_os = "macos")]
|
||||
#[cfg(target_os = "win32")]
|
||||
mod imp {
|
||||
use option::Option;
|
||||
|
||||
pub unsafe fn init(_argc: int, _argv: **u8) {
|
||||
}
|
||||
|
|
@ -176,4 +177,4 @@ mod imp {
|
|||
pub fn clone() -> Option<~[~str]> {
|
||||
fail!()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,6 @@
|
|||
|
||||
fn main() {
|
||||
unsafe {
|
||||
std::cast::transmute::<[int,..1],int>([1])
|
||||
::std::cast::transmute::<[int,..1],int>([1])
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue