Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

chore: bump MSRV to 1.70, add rust-toolchain (#2580)

Piotr Osiewiczdfd72770e76e
diff --git a/Dockerfile b/Dockerfile
index d3170696c5f..2a78d37cbbc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
# syntax = docker/dockerfile:1.2
-FROM rust:1.65-bullseye as builder
+FROM rust:1.70-bullseye as builder
WORKDIR app
COPY . .
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
new file mode 100644
index 00000000000..7046039a2c1
--- /dev/null
+++ b/rust-toolchain.toml
@@ -0,0 +1,3 @@
+[toolchain]
+channel = "1.70"
+components = [ "rustfmt" ]