]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs
Merge commit 'e228f0c16ea8c34794a6285bf57aab627c26b147' into libgccjit-codegen
[rust.git] / compiler / rustc_codegen_gcc / example / mini_core_hello_world.rs
index ccf4b53a702e52966213ef7cb8b738f43cf99a8c..69d591565acfa563820ee8c822098e4742603385 100644 (file)
@@ -253,7 +253,7 @@ unsafe fn uninitialized<T>() -> T {
         }
     }
 
-    // TODO: not sure about this assert. ABC is not defined, so should it be really 0?
+    // TODO(antoyo): to make this work, support weak linkage.
     //unsafe { assert_eq!(ABC as usize, 0); }
 
     &mut (|| Some(0 as *const ())) as &mut dyn FnMut() -> Option<*const ()>;