summaryrefslogtreecommitdiffstats
path: root/dom/media/gtest/hello.rs
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/gtest/hello.rs')
-rw-r--r--dom/media/gtest/hello.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/dom/media/gtest/hello.rs b/dom/media/gtest/hello.rs
deleted file mode 100644
index cd111882a..000000000
--- a/dom/media/gtest/hello.rs
+++ /dev/null
@@ -1,6 +0,0 @@
-#[no_mangle]
-pub extern fn test_rust() -> *const u8 {
- // NB: rust &str aren't null terminated.
- let greeting = "hello from rust.\0";
- greeting.as_ptr()
-}