Lucas Ste

Results 34 issues of Lucas Ste

Function inside `anchor/lang/syn` only serve for code generation, but are also built for Solana programs, leading to spurious stack error warnings.

lang

I have been investigating complaints about invalid stack accesses in the compiler toolchain that happen with Anchor contracts. Most problems occur with function `try_accounts`, whose constraints expansion eats up a...

enhancement
lang

**Problem** I am using loom for concurrent tests, and `wait_while` was a feature I needed for the crate to be compatible with the project. **Changes** I implemented the `wait_while` function...

When we compile a project for the SBF target, we still invoke the linker, assuming the BPF target. Them seems to be related to the following line: https://github.com/anza-xyz/rust/blob/696ef741a6b654a4fe9f46bc47b502049e919aa9/compiler/rustc_codegen_ssa/src/back/metadata.rs#L214 However, changing...