Last updated: 2016-08-06
Summary: We'll modify the rustc-builtins
crate to make all the intrinsics "undefined", then
we'll proceed to bootstrap rustc
normally. This will cause a linker error while linking rustc
because the intrinsics are "undefined". The linker error message will list the intrinsics that are
required to link rustc
but the linker couldn't "find".
- First, we avoid building
.so
versions ofstd
,rustc
et al. because those will also fail to link but the linker error message will list all the intrinsics instead of only the ones that are actually needed to build a Rust program (binary). We do this by removing"dylib"
from the