The program pub main(){} fails if procfs is not mounted:
thread '<unnamed>' panicked at 'failed to get thread attributes', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/sys/unix/thread.rs:84
It seems that the problem is a call to pthread_getattr_np() which tries to read /proc/self/maps and fails.
$ rustc --version
rustc 1.0.0-nightly (522d09dfe 2015-02-19) (built 2015-02-21)
The program
pub main(){}fails if procfs is not mounted:It seems that the problem is a call to
pthread_getattr_np()which tries to read/proc/self/mapsand fails.