-
Notifications
You must be signed in to change notification settings - Fork 13
Need a way to link against libcore #7
Copy link
Copy link
Open
Description
There needs to be a decent way to link against libcore if we want to be able to write idiomatic Rust with this.
I have put (admittedly hacked) together a preliminary version in my master branch (currently mcoffin/dueboot@58bde74). Unfortunately, I stripped the whole build system in the process because I got frustrated. So, before we even THINK about merging it, we'll have to either update the new build system or convert the hack I used back over to the old one.
Basically, I build libcore for arm-unkown-linux-gnueabi, then rust will grab its metadata from libcore.rlib and then I recompile libcore, this time emitting llvm-ir, then compile and manually link the result with the main crate.
Thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels