Skip to content

Commit

Permalink
chore: use embedded alloc in example, docs typo (#1945)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhtyy authored Jan 17, 2025
1 parent 8390dc2 commit e64e88f
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 131 deletions.
8 changes: 4 additions & 4 deletions book/versioned_docs/version-4.0.0/developers/common-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ If you're using `cargo prove build` an `sp1up` should fix this.

## Ubuntu 20.04 (ARM)

The Succinct Rust toolchain is built on Ubuntu 22.04, which links a newer version of libc than available
on Ubuntu 20.04.
The Succinct Rust toolchain is built on Ubuntu 22.04 for ARM machines,
which links a newer version of libc than available on Ubuntu 20.04.

This error may manifest as:
```bash
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found
```
This most commonly happens in CI runners, it is recommended to bump the runner OS to 22.04,
the issue applies to all older linux distrubtions that dont have support for the same version of libc used to build it.
This most commonly happens in CI runners. To solve this, bump the runner OS to 22.04.
This issue also applies all older Linux distributions that don't have support for the same version of libc used to build it.
2 changes: 1 addition & 1 deletion crates/build/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub fn execute_build_program(
std::fs::copy(&elf_path, &output_path)?;
}
} else if args.elf_name.is_some() {
println!("cargo:warning=ELF name is set but --output-directory is not used");
println!("cargo:warning=ELF name is set but --output-directory is not used, the ELF will be place in the `target/` directory");
}

print_elf_paths_cargo_directives(&target_elf_paths);
Expand Down
Loading

0 comments on commit e64e88f

Please sign in to comment.