These changes to compiletest are optional, I wrote them when attempting to get phase-syntax-link-does-resolve to work when cross-compiling, but currently there is the difficulty of libsyntax being required at runtime when this kind of crate is used. The capability may be useful in the future when this can be resolved, however.