Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upimplement 'use' for rustc #244
Comments
This comment has been minimized.
This comment has been minimized.
|
"Not sure exactly what support it has for making up our own section names. Try your best." LLVM supports this, and the stub code now in the tree does it. |
This comment has been minimized.
This comment has been minimized.
|
Some related design in https://github.com/graydon/rust/wiki/Crate-format-rfc |
This comment has been minimized.
This comment has been minimized.
|
Marking as fixed; this basically works now. |
pcwalton
closed this
Apr 11, 2011
pcwalton
reopened this
Apr 11, 2011
pcwalton
closed this
Apr 11, 2011
keeperofdakeys
pushed a commit
to keeperofdakeys/rust
that referenced
this issue
Dec 12, 2017
kazcw
pushed a commit
to kazcw/rust
that referenced
this issue
Oct 23, 2018
venkag
referenced this issue
Feb 13, 2019
Closed
Hello World App crashes with 'Illegal Instruction' in 32-bit environment on a 64-bit SoC #58414
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
graydon commentedFeb 28, 2011
Rustc can't 'use' crates yet. In fact it can't even write out crate metadata. It has to learn how.
Tasks here involve:
seek around inside of, but also stable and simple enough that we're not likely to break it
all the time as we hack on rustc.
LLVM. Not sure exactly what support it has for making up our own section names. Try
your best.
mailing list post: https://mail.mozilla.org/pipermail/rust-dev/2010-December/000164.html
sniffer from rustboot, see for example boot/be/elf.ml 'sniff' and friends) and read its
contents into the compilation-crate namespace. Lazily load additional components of
the 'use'd crate namespace as references and imports demand.