Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple imports #193

Closed
wants to merge 2 commits into from
Closed

Simple imports #193

wants to merge 2 commits into from

Conversation

espindola
Copy link

This is incomplete, but lets us compile simple cases. The basic idea is that nothing 'really' resolves to an import, we return what the import points to.

The final implementation will probably use a import -> def table that is constructed in fold_view_import. This will avoid repetitive work and will be a convenient place for producing errors about incorrect but unused imports.

cixtor added 2 commits January 7, 2011 17:38
…grams.

This is likely not the final solution. It does repetitive work and doesn't produce
errors for invalid but unused imports. In any case, I think it is a useful step.
@graydon
Copy link
Contributor

graydon commented Jan 10, 2011

Merged last week

oli-obk added a commit to oli-obk/rust that referenced this pull request Jul 19, 2017
Rustup 1.4 fixed the permissions of the extracted files
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
dlrobertson pushed a commit to dlrobertson/rust that referenced this pull request Nov 29, 2018
ZuseZ4 referenced this pull request in EnzymeAD/rust Mar 7, 2023
* added getForwardBuilder

* storeInst forward mode

* loadInst forward mod

* moved forward and reverse builder helpers into GradientUtils
matthiaskrgr pushed a commit to matthiaskrgr/rust that referenced this pull request Mar 7, 2023
celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
* Replace slower lookup by pretty name with symbol name

* Add nonnull fn call assertion (with new utility fn)

* Kill pretty_name_from_instance

* Remove fixme from boxmuttrait test that now works

* Pipe pretty_name through Symbol::function constructor

* Don't pass non-specific pretty names
carolynzech pushed a commit to celinval/rust-dev that referenced this pull request Dec 13, 2024
Towards rust-lang#150

Similar PR Ref : rust-lang#193 

Annotates and verifies the safety contracts for the unsafe function :
`from_ptr` - `core::ffi::c_str`

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.

---------

Co-authored-by: Yenyun035 <[email protected]>
Co-authored-by: Yenyun035 <[email protected]>
carolynzech added a commit to celinval/rust-dev that referenced this pull request Dec 13, 2024
…ith_nul_unchecked (rust-lang#193)

Towards rust-lang#150

Annotates and verifies the safety contracts for the following unsafe
functions:

`from_bytes_with_nul_uncheked` `core::ffi::c_str`
`strlen` `core::ffi::c_str`

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.

---------

Co-authored-by: Yenyun035 <[email protected]>
Co-authored-by: Yenyun035 <[email protected]>
Co-authored-by: Carolyn Zech <[email protected]>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants