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

Upgrade to rust 1.52.1 #13

Conversation

dmakarov
Copy link
Collaborator

No description provided.

jackcmay and others added 27 commits May 16, 2021 13:43
* In Github actions: master => main

* Customize enabled projects and targets for llvm in github workflows

Co-authored-by: Dmitri Makarov <[email protected]>
* [BPF] Add method to check whether a triple is a BPF architecture

* [BPF] Make rust allocation builtins unavailable for BPF target

- the calls to rust alloc/dealloc routines need to be preserved and
not replaced by compiler generated builtin inlined code
* [SOL][BPF] Adjust BPF tests

* [SOL][BPF] Improve reporting of stack size is too large

- issue only one warning for each function
- report the function location if debug information is available
* [SOL] Make lld thread-safe with llvm when used in-process

Every time Solang tries to link a web-assembly file in-process, the linker
re-inits llvm which is not thread-safe with the rest of solang.

Signed-off-by: Sean Young <[email protected]>

* [SOL][BPF] Enable the _ExtInt extension on the BPF Target for Solana

Signed-off-by: Sean Young <[email protected]>
Solana extends BPF so that structs type information is not fully
supported in BTF.  This leads to ICE crashes and some unsupported
relocations being emitted in binary files that linker errors on.
For, now the debug information is simply disabled when compiling
for Solana to avoid the errors in Debug builds.
@dmakarov dmakarov closed this May 16, 2021
@dmakarov dmakarov reopened this May 17, 2021
- duplicate checks in stack-clash-medium removed
- align attribute is not supported by cmpxchg yet
@dmakarov dmakarov force-pushed the solana-rustc/12.0-2021-04-15 branch from e8f12a3 to d832fd2 Compare May 17, 2021 14:39
@dmakarov dmakarov merged commit d832fd2 into anza-xyz:solana-rustc/12.0-2021-04-15 May 17, 2021
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.

4 participants