Closed bharrisau closed 9 years ago
So as I understand it, they pull out some libs along with rlibc.
So this it's my update so far:
Rakefile:
# cross-compiled librlibc
compile_rust :rlibc_crate, {
source: 'thirdparty/librlibc/src/lib.rs'.in_root,
produce: 'thirdparty/librlibc/src/lib.rs'.in_root.as_rlib.in_build,
out_dir: true,
recompile_on: :triple,
}
rake
Rake::FileTask.define_task 'thirdparty/librlibc'.in_root do |t|
sh "git clone --single-branch --depth 1 https://github.com/rust-lang/rlibc.git #{t.name}"
end.invoke
Is that it? Nah, the version is a bit different, so it requires more than just those changes above.
You only need the master for rlibc. It doesn't change.
I'll hook up a bot to create a similar repo for libcore (the nightly-linux buildbot has the needed info and I can listen on IRC for build notifications) and it should solve the issues with revision commits and also speed up the build a little.
I'm building libcore/ribc as part of rustc bootstrap in zinci so this isn't going to be a problem when we move off travis.
@farcaller When we can see any result?
Moving off travis? Can you share more?
Updated the rakefile.
@0xc0170 it's now live at http://beta.ci.zinc.rs/builds/ for a trial run.
Removed from Rust tree as of rust-lang/rust#18625.