mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-13 03:16:51 +00:00
11 lines
293 B
Bash
11 lines
293 B
Bash
#!/bin/sh
|
|
set -eu
|
|
|
|
# On 32-bit Linux platforms, we need libatomic1 to use rustup
|
|
if command -v apt-get &> /dev/null; then
|
|
apt-get update
|
|
apt-get install libatomic1
|
|
fi
|
|
|
|
# Install a Rust toolchain
|
|
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.82.0 -y --profile minimal
|