update to rust 1.56.1

This commit is contained in:
Anton-4 2021-11-02 14:10:01 +01:00
parent 0fdd8ac1b4
commit 9af09273b3
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
FROM rust:1.54-slim-bullseye
FROM rust:1.56.1-slim-bullseye
WORKDIR /earthbuild
prep-debian:

View File

@ -831,6 +831,7 @@ impl<
fields: &'a [Symbol],
) -> Result<(), String> {
let struct_size = layout.stack_size(PTR_SIZE);
if let Layout::Struct(field_layouts) = layout {
if struct_size > 0 {
let offset = self.claim_stack_size(struct_size)?;