diff --git a/packages/rust/1.65.0/build.sh b/packages/rust/1.65.0/build.sh deleted file mode 100755 index 877d5b1..0000000 --- a/packages/rust/1.65.0/build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -curl -OL "https://static.rust-lang.org/dist/rust-1.65.0-x86_64-unknown-linux-gnu.tar.gz" -tar xzvf rust-1.65.0-x86_64-unknown-linux-gnu.tar.gz -rm rust-1.65.0-x86_64-unknown-linux-gnu.tar.gz diff --git a/packages/rust/1.65.0/compile b/packages/rust/1.65.0/compile deleted file mode 100755 index 201318a..0000000 --- a/packages/rust/1.65.0/compile +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -# https://stackoverflow.com/questions/38041331/rust-compiler-cant-find-crate-for-std -# Rust compiler needs to find the stdlib to link against -rustc -o binary -L ${RUST_INSTALL_LOC}/rustc/lib -L ${RUST_INSTALL_LOC}/rust-std-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib "$@" -chmod +x binary diff --git a/packages/rust/1.65.0/environment b/packages/rust/1.65.0/environment deleted file mode 100755 index 5690f1d..0000000 --- a/packages/rust/1.65.0/environment +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -# Put 'export' statements here for environment variables -export PATH=$PWD/rust-1.65.0-x86_64-unknown-linux-gnu/rustc/bin/:$PATH -export RUST_INSTALL_LOC=$PWD/rust-1.65.0-x86_64-unknown-linux-gnu diff --git a/packages/rust/1.65.0/metadata.json b/packages/rust/1.65.0/metadata.json deleted file mode 100644 index b315bdf..0000000 --- a/packages/rust/1.65.0/metadata.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "language": "rust", - "version": "1.65.0", - "aliases": [ - "rs" - ] -} diff --git a/packages/rust/1.65.0/run b/packages/rust/1.65.0/run deleted file mode 100755 index d377dd9..0000000 --- a/packages/rust/1.65.0/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -shift -./binary "$@" diff --git a/packages/rust/1.65.0/test.rs b/packages/rust/1.65.0/test.rs deleted file mode 100644 index 62c01c6..0000000 --- a/packages/rust/1.65.0/test.rs +++ /dev/null @@ -1,8 +0,0 @@ -fn main() { - println!("OK"); - - // 1.65.0 feature - let _test = if let Some(t) = Some(1234) { - t - } else { unreachable!() }; -}