This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
03cdc2476d
rust
/
src
/
test
/
run-pass
/
issue-1251.rs
8 lines
100 B
Rust
Raw
Normal View
History
Unescape
Escape
Change all test/run-pass uses of rustrt::unsupervise() to something else
2012-07-17 20:18:45 -05:00
#[
link(name =
"
get_task_id
"
)
]
;
rustc: Add suffix ".rc" to LLVM module identifier LLVM code generator emits the ".file filename" directive for ELF backends. Value of the "filename" is set as the LLVM module identifier. Due to a LLVM MC bug[1], LLVM crashes if the module identifer is same as other symbols such as a function name in the module. This patch adds a ".rc" suffix (means crates) to LLVM module identifier to workaround the bug. Fixes issue #1251. 1. http://llvm.org/bugs/show_bug.cgi?id=11479
2011-12-05 00:56:11 -06:00
Switch 'native' to 'extern' (or 'foreign' in some descriptions)
2012-07-03 18:11:00 -05:00
extern
mod
rustrt
{
Change all test/run-pass uses of rustrt::unsupervise() to something else
2012-07-17 20:18:45 -05:00
fn
get_task_id
(
)
->
int
;
rustc: Add suffix ".rc" to LLVM module identifier LLVM code generator emits the ".file filename" directive for ELF backends. Value of the "filename" is set as the LLVM module identifier. Due to a LLVM MC bug[1], LLVM crashes if the module identifer is same as other symbols such as a function name in the module. This patch adds a ".rc" suffix (means crates) to LLVM module identifier to workaround the bug. Fixes issue #1251. 1. http://llvm.org/bugs/show_bug.cgi?id=11479
2011-12-05 00:56:11 -06:00
}
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink