mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
update to rust 1.56.1
This commit is contained in:
parent
0fdd8ac1b4
commit
9af09273b3
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM rust:1.54-slim-bullseye
|
FROM rust:1.56.1-slim-bullseye
|
||||||
WORKDIR /earthbuild
|
WORKDIR /earthbuild
|
||||||
|
|
||||||
prep-debian:
|
prep-debian:
|
||||||
|
|
|
@ -831,6 +831,7 @@ impl<
|
||||||
fields: &'a [Symbol],
|
fields: &'a [Symbol],
|
||||||
) -> Result<(), String> {
|
) -> Result<(), String> {
|
||||||
let struct_size = layout.stack_size(PTR_SIZE);
|
let struct_size = layout.stack_size(PTR_SIZE);
|
||||||
|
|
||||||
if let Layout::Struct(field_layouts) = layout {
|
if let Layout::Struct(field_layouts) = layout {
|
||||||
if struct_size > 0 {
|
if struct_size > 0 {
|
||||||
let offset = self.claim_stack_size(struct_size)?;
|
let offset = self.claim_stack_size(struct_size)?;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue