This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make check | |
... | |
failures: | |
[run-pass] run-pass/extern-pass-TwoU64s-ref.rs | |
[run-pass] run-pass/extern-pass-TwoU64s.rs | |
[run-pass] run-pass/extern-return-TwoU64s.rs | |
[run-pass] run-pass/glob-std.rs | |
[run-pass] run-pass/linkage-visibility.rs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*- encoding: utf8 -*- | |
import os | |
import shutil | |
from lxml import html | |
def parse(text): | |
h = html.fromstring(text) | |
content = h.get_element_by_id('content') | |
ret = u'' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// test code for mingw / libuv / _CRT_NON_CONFORMING_SWPRINTFS | |
// compare result with libuv built with different configurations: | |
// $ make | |
// $ make CFLAGS="-D_CRT_NON_CONFORMING_SWPRINTFS" | |
#include <stdio.h> | |
#include <io.h> | |
#include <fcntl.h> | |
#include "uv.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern mod syntax; | |
extern mod rustc; | |
pub use syntax::ast; | |
pub use rustc::middle::ty; | |
pub use rustc::middle::ty::t; | |
fn cpp_arg_mangle(arg: t) -> ~str { | |
let arg = ty::get(arg); | |
match arg.sty { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# this assumes you are using mingw-w64 platform. | |
# if not, add --linker=x86_64-w64-mingw32-g++.exe option | |
TARGET=x86_64-w64-mingw32 | |
RUST_ROOT=/c/home/stone/rust | |
# copy mingw runtime dlls to the dir to prevent dll hell. |
NewerOlder