Changed newline from CRLF to LF

This commit is contained in:
RVG|lory 2023-04-06 19:10:42 +02:00 committed by GitHub
parent 608bd26bf3
commit 0f70ebba4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 20 deletions

View file

@ -1,6 +1,6 @@
#!/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 "$@"
#!/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

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH=$PWD/rust-1.68.2-x86_64-unknown-linux-gnu/rustc/bin/:$PATH
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH=$PWD/rust-1.68.2-x86_64-unknown-linux-gnu/rustc/bin/:$PATH
export RUST_INSTALL_LOC=$PWD/rust-1.68.2-x86_64-unknown-linux-gnu

View file

@ -1,7 +1,7 @@
{
"language": "rust",
"version": "1.68.2",
"aliases": [
"rs"
]
{
"language": "rust",
"version": "1.68.2",
"aliases": [
"rs"
]
}

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
shift
#!/usr/bin/env bash
shift
./binary "$@"

View file

@ -1,3 +1,3 @@
fn main() {
println!("OK");
fn main() {
println!("OK");
}