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

Merged
merged 28 commits into from
May 17, 2021
Merged

Upgrade to rust 1.52.1 #13

merged 28 commits into from
May 17, 2021

Conversation

dmakarov
Copy link

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 <dmakarov@alumni.stanford.edu>
* [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
Co-authored-by: Jack May <jack@solana.com>
* [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 <sean@mess.org>

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

Signed-off-by: Sean Young <sean@mess.org>
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 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