Skip to content

Instantly share code, notes, and snippets.

@olsonjeffery
Created September 26, 2012 19:22
Show Gist options
  • Select an option

  • Save olsonjeffery/3789998 to your computer and use it in GitHub Desktop.

Select an option

Save olsonjeffery/3789998 to your computer and use it in GitHub Desktop.
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: unresolved name: unsafe::reinterpret_cast
/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:114:17: 114:41 error: unresolved name
/home/jeff/src/servo/src/rust-azure/test.rs:114 unsafe { unsafe::reinterpret_cast(&pattern) });
^~~~~~~~~~~~~~~~~~~~~~~~
/home/jeff/src/servo/src/rust-azure/test.rs:114:17: 114:41 error: use of undeclared module `unsafe`
/home/jeff/src/servo/src/rust-azure/test.rs:114 unsafe { unsafe::reinterpret_cast(&pattern) });
^~~~~~~~~~~~~~~~~~~~~~~~
/home/jeff/src/servo/src/rust-azure/test.rs:114:17: 114:41 error: unresolved name: unsafe::reinterpret_cast
/home/jeff/src/servo/src/rust-azure/test.rs:114 unsafe { unsafe::reinterpret_cast(&pattern) });
^~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 6 previous errors
make[1]: *** [libazure.dummy] Error 101
make[1]: Leaving directory `/home/jeff/src/servo/build/src/rust-azure'
make: *** [/home/jeff/src/servo/build/src/rust-azure/rust-azure.dummy] Error 2
jeff@mbp:~/src/servo/build$ rustc -v
rustc 0.4 (5558ebb 2012-09-20 15:05:20 -0700)
host: x86_64-unknown-linux-gnu
jeff@mbp:~/src/servo/build$ git rev-parse HEAD
b9b3895a8a6415591007336e19316c2aaee886f4
jeff@mbp:~/src/servo/build$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment