about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Einwag <matthias.einwag@live.com>2014-01-20 21:44:41 +0100
committerMatthias Einwag <matthias.einwag@live.com>2014-01-20 21:44:41 +0100
commit112d01a9510192c1e410c6e51e2b2f4d36bc6b63 (patch)
tree11ea5c5a8159d48b8469d0f49b20b8a568b1a5e9
parent393191d914a14aa1a0ad10ffe54ff23940671353 (diff)
downloadrust-112d01a9510192c1e410c6e51e2b2f4d36bc6b63.tar.gz
rust-112d01a9510192c1e410c6e51e2b2f4d36bc6b63.zip
Disabled the tests for the new code blocks
-rw-r--r--doc/guide-ffi.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/guide-ffi.md b/doc/guide-ffi.md
index 02c4059dc37..236da56588e 100644
--- a/doc/guide-ffi.md
+++ b/doc/guide-ffi.md
@@ -263,7 +263,7 @@ to the C library and afterwards be invoked from there.
 A basic example is:
 
 Rust code:
-~~~~
+~~~~ {.xfail-test}
 extern fn callback(a:i32) {
     println!("I'm called from C with value {0}", a);
 }
@@ -283,7 +283,7 @@ fn main() {
 ~~~~
 
 C code:
-~~~~
+~~~~ {.xfail-test}
 typedef void (*rust_callback)(int32_t);
 rust_callback cb;
 
@@ -314,7 +314,7 @@ the notification. This will provide a unsafe possibility to access the
 referenced Rust object in callback.
 
 Rust code:
-~~~~
+~~~~ {.xfail-test}
 
 struct RustObject {
     a: i32,
@@ -346,7 +346,7 @@ fn main() {
 ~~~~
 
 C code:
-~~~~
+~~~~ {.xfail-test}
 typedef void (*rust_callback)(int32_t);
 void* cb_target;
 rust_callback cb;