mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-12 19:06:50 +00:00
10 lines
268 B
Bash
10 lines
268 B
Bash
#!/bin/sh
|
|
set -xeu
|
|
|
|
# On 32-bit Linux platforms, we need libatomic1 to use rustup
|
|
if command -v yum &> /dev/null; then
|
|
yum install -y libatomic
|
|
fi
|
|
|
|
# Install a Rust toolchain
|
|
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.82.0 -y --profile minimal
|