core: Clean up XXXes
This commit is contained in:
parent
9143688197
commit
dcb98f4097
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ pub unsafe fn rt_fail_borrowed() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// XXX: Make these signatures agree with exchange_alloc's signatures
|
// FIXME #4942: Make these signatures agree with exchange_alloc's signatures
|
||||||
#[rt(exchange_malloc)]
|
#[rt(exchange_malloc)]
|
||||||
#[lang="exchange_malloc"]
|
#[lang="exchange_malloc"]
|
||||||
pub unsafe fn rt_exchange_malloc(td: *c_char, size: uintptr_t) -> *c_char {
|
pub unsafe fn rt_exchange_malloc(td: *c_char, size: uintptr_t) -> *c_char {
|
||||||
|
|
|
@ -250,7 +250,7 @@ pub fn start_program(prog: &str, args: &[~str]) -> Program {
|
||||||
r: ProgRepr,
|
r: ProgRepr,
|
||||||
drop {
|
drop {
|
||||||
unsafe {
|
unsafe {
|
||||||
// XXX: This is bad.
|
// FIXME #4943: This is bad.
|
||||||
destroy_repr(cast::transmute(&self.r));
|
destroy_repr(cast::transmute(&self.r));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue