about summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-06-21 14:17:54 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-06-21 16:03:28 -0700
commitc814df0bd67ba52357074d9f9a56327f93fdfcda (patch)
tree08367039f3be827e98a808fb7d90be23e98226b2 /src/rt/rust_builtin.cpp
parentbe8b09160bb6cefc239a8ede5e4ac01e1d61adf9 (diff)
downloadrust-c814df0bd67ba52357074d9f9a56327f93fdfcda.tar.gz
rust-c814df0bd67ba52357074d9f9a56327f93fdfcda.zip
Comments only: annotate FIXMEs
Diffstat (limited to 'src/rt/rust_builtin.cpp')
-rw-r--r--src/rt/rust_builtin.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp
index bc215c4e7b2..3f754a44298 100644
--- a/src/rt/rust_builtin.cpp
+++ b/src/rt/rust_builtin.cpp
@@ -233,7 +233,7 @@ rand_free(randctx *rctx) {
 /* Debug helpers strictly to verify ABI conformance.
  *
  * FIXME: move these into a testcase when the testsuite
- * understands how to have explicit C files included.
+ * understands how to have explicit C files included. (#2688)
  */
 
 struct quad {
@@ -289,17 +289,18 @@ debug_opaque(type_desc *t, uint8_t *front) {
     LOG(task, stdlib, "debug_opaque");
     debug_tydesc_helper(t);
     // FIXME may want to actually account for alignment.  `front` may not
-    // indeed be the front byte of the passed-in argument.
+    // indeed be the front byte of the passed-in argument. (#2667)
     for (uintptr_t i = 0; i < t->size; ++front, ++i) {
         LOG(task, stdlib, "  byte %" PRIdPTR ": 0x%" PRIx8, i, *front);
     }
 }
 
-// FIXME this no longer reflects the actual structure of boxes!
+// FIXME this no longer reflects the actual structure of boxes! (#2667)
 struct rust_box {
     RUST_REFCOUNTED(rust_box)
 
     // FIXME `data` could be aligned differently from the actual box body data
+    // (#2667)
     uint8_t data[];
 };
 
@@ -635,7 +636,7 @@ extern "C" CDECL rust_task*
 rust_new_task_in_sched(rust_sched_id id) {
     rust_task *task = rust_get_current_task();
     rust_scheduler *sched = task->kernel->get_scheduler_by_id(id);
-    // FIXME: What if we didn't get the scheduler?
+    // FIXME: What if we didn't get the scheduler? (#2668)
     return new_task_common(sched, task);
 }