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

'mod extern libc { ... }' shouldn't work #3118

Closed
brson opened this issue Aug 7, 2012 · 1 comment
Closed

'mod extern libc { ... }' shouldn't work #3118

brson opened this issue Aug 7, 2012 · 1 comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone

Comments

@brson
Copy link
Contributor

brson commented Aug 7, 2012

run-pass/foreign-fn-linkname has this declaration:

#[nolink]                                                                                                                                                                     
#[abi = "cdecl"]                                                                                                                                                              
mod extern libc {                                                                                                                                                             
    #[link_name = "strlen"]                                                                                                                                                   
    fn my_strlen(str: *u8) -> uint;                                                                                                                                           
}

I've never seen mod extern before, nor do I understand why this even parses.

@brson
Copy link
Contributor Author

brson commented Aug 13, 2012

This is no longer a problem. No idea what was going on.

@brson brson closed this as completed Aug 13, 2012
bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
RalfJung pushed a commit to RalfJung/rust that referenced this issue Oct 21, 2023
…Jung

Implement `llvm.x86.sse41.*` intrinsics
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Bumps [tests/perf/s2n-quic](https://github.com/aws/s2n-quic) from
`0a60ec1` to `2d5e891`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws/s2n-quic/commit/2d5e891f3fdc8a88b2d457baceedea5751efaa0d"><code>2d5e891</code></a>
build(deps): update s2n-tls requirement from 0.1 to 0.2 (<a
href="https://redirect.github.com/aws/s2n-quic/issues/2166">#2166</a>)</li>
<li><a
href="https://github.com/aws/s2n-quic/commit/18873227448a29c254534bb8c0b14c0c1732561f"><code>1887322</code></a>
ci: publish to GitHub Container Registry (<a
href="https://redirect.github.com/aws/s2n-quic/issues/2165">#2165</a>)</li>
<li><a
href="https://github.com/aws/s2n-quic/commit/47ea5d8951f4cf7eb83c6e898ec45478f354c2ea"><code>47ea5d8</code></a>
ci: use rustup instead of actions-rs (<a
href="https://redirect.github.com/aws/s2n-quic/issues/2168">#2168</a>)</li>
<li>See full diff in <a
href="https://github.com/aws/s2n-quic/compare/0a60ec19ea9a8cd1bef98ad9798327521d2121ee...2d5e891f3fdc8a88b2d457baceedea5751efaa0d">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

1 participant