This file contains hidden or 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
diff --git a/mk/platform.mk b/mk/platform.mk | |
index e45b299..0488f2f 100644 | |
--- a/mk/platform.mk | |
+++ b/mk/platform.mk | |
@@ -46,6 +46,7 @@ ifneq ($(findstring freebsd,$(CFG_OSTYPE)),) | |
CFG_GCCISH_CFLAGS_x86_64 += -m64 | |
CFG_GCCISH_LINK_FLAGS_x86_64 += -m64 | |
CFG_UNIXY := 1 | |
+ CFG_FBSD := 1 | |
CFG_LDENV := LD_LIBRARY_PATH |
This file contains hidden or 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
14:01 <@graydon> pfox__: want to add another minor patch to your queued change? | |
14:02 <@graydon> pfox__: remove the libuv mingw workaround patch I made (the one that avoids 2 symbols), just revert to libuv trunk. and change '-lWs2_32' to | |
'-lWs2_32 -lpsapi -liphlpapi' in the CFG_LIBUV_LINK_FLAGS variable of mk/platform.mk under CFG_WINDOWSY |
This file contains hidden or 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
diff --git a/src/rt/rust_uv.cpp b/src/rt/rust_uv.cpp | |
index 2dc7008..4b155bc 100644 | |
--- a/src/rt/rust_uv.cpp | |
+++ b/src/rt/rust_uv.cpp | |
@@ -121,11 +121,6 @@ rust_uv_loop_delete(uv_loop_t* loop) { | |
uv_loop_delete(loop); | |
} | |
-extern "C" int | |
-rust_uv_loop_refcount(uv_loop_t* loop) { |
This file contains hidden or 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
jeff@mbp:~/src/rust/build$ make check-stage1-std | |
cfg: shell host triple x86_64-unknown-linux-gnu | |
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE) | |
cfg: host for x86_64-unknown-linux-gnu is x86_64 | |
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX) | |
cfg: unix-y environment | |
cfg: using gcc | |
cfg: no llnextgen found, omitting grammar-verification | |
cfg: including dist rules | |
cfg: including test rules |
This file contains hidden or 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
ar rcs libazure.a src/memory/mozalloc/mozalloc_abort.o src/memory/mozalloc/mozalloc.o src/memory/mozalloc/mozalloc_oom.o src/2d/Factory.o src/2d/Matrix.o src/2d/DrawTargetCairo.o src/2d/SourceSurfaceCairo.o src/2d/PathCairo.o src/2d/Blur.o src/2d/ScaledFontBase.o src/2d/DrawTargetDual.o azure-c.o | |
rustc -O -L /home/jeff/src/servo/build/src/rust-geom /home/jeff/src/servo/src/rust-azure/azure.rc -o libazure.dummy | |
/home/jeff/src/servo/src/rust-azure/test.rs:42:4: 42:28 error: unresolved name | |
/home/jeff/src/servo/src/rust-azure/test.rs:42 unsafe::reinterpret_cast(&ptr::addr_of((*event).padding)) | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/jeff/src/servo/src/rust-azure/test.rs:42:4: 42:28 error: use of undeclared module `unsafe` | |
/home/jeff/src/servo/src/rust-azure/test.rs:42 unsafe::reinterpret_cast(&ptr::addr_of((*event).padding)) | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/jeff/src/servo/src/rust-azure/test.rs:42:4: 42:28 error: u |
This file contains hidden or 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
/home/jeff/src/servo/src/rust-harfbuzz/harfbuzz.rs:283:0: 288:2 warning: type, variant, or trait should have a camel case identifier | |
/home/jeff/src/servo/src/rust-harfbuzz/harfbuzz.rs:283 type struct__hb_feature_t = { | |
/home/jeff/src/servo/src/rust-harfbuzz/harfbuzz.rs:284 tag: hb_tag_t, | |
/home/jeff/src/servo/src/rust-harfbuzz/harfbuzz.rs:285 value: uint32_t, | |
/home/jeff/src/servo/src/rust-harfbuzz/harfbuzz.rs:286 start: c_uint, | |
/home/jeff/src/servo/src/rust-harfbuzz/harfbuzz.rs:287 end: c_uint, | |
/home/jeff/src/servo/src/rust-harfbuzz/harfbuzz.rs:288 }; | |
/home/jeff/src/servo/src/rust-harfbuzz/harfbuzz.rs:290:0: 290:41 warning: type, variant, or trait should have a camel case identifier | |
/home/jeff/src/servo/src/rust-harfbuzz/harfbuzz.rs:290 type hb_feature_t = struct__hb_feature_t; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
This file contains hidden or 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
check: formatting | |
/home/jeff/src/rust/src/libsyntax/parse/parser.rs:1858: trailing whitespace | |
/home/jeff/src/rust/src/libsyntax/parse/parser.rs:1859: line longer than 78 chars | |
make: *** [tidy] Error 123 |
This file contains hidden or 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
1092 fn AutoNotify(chan: Chan<Notification>) -> AutoNotify { | |
1093 AutoNotify { | |
1094 notify_chan: chan, | |
1095 failed: true // Un-set above when taskgroup successfully made. | |
1096 } | |
1097 } | |
compile_and_link: x86_64-unknown-linux-gnu/stage0/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore.so | |
/home/jeff/src/rust/src/libcore/task.rs:1092:0: 1097:1 error: argument 1 uses the default mode but shouldn't | |
/home/jeff/src/rust/src/libcore/task.rs:1092 fn AutoNotify(chan: Chan<Notification>) -> AutoNotify { |
This file contains hidden or 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
use std; | |
import task::spawn; | |
import io::println; | |
import new_future = future::spawn; | |
fn main() { | |
println("hello world!"); | |
do spawn { | |
println("inside the deal"); | |
}; |
This file contains hidden or 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
gdb --args x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --target=x86_64-unknown-linux-gnu -o x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore.so /home/jeff/src/rust/src/libcore/core.rc && touch x86_64-unknown-linux-gnu/stage1/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore.so | |
break on upcall_fail ... | |
(gdb) bt | |
#0 upcall_fail (expr=0x7fffec1035b0 "connection closed", file=0x7ffff76ac940 "/home/jeff/src/rust/src/libcore/option.rs", line=179) | |
at /home/jeff/src/rust/src/rt/rust_upcall.cpp:96 | |
#1 0x00007ffff4f56801 in rust_upcall_fail (expr=0x7fffec1035b0 "connection closed", file=0x7ffff76ac940 "/home/jeff/src/rust/src/libcore/option.rs", | |
line=179) at /home/jeff/src/rust/src/rt/rust_upcall.cpp:108 | |
#2 0x00007ffff76985f7 in rt::rustrt::rust_upcall_fail::_96f05ec2f2882f7a::_03 () |