@samitouri / QOS-React-2 / commits / d38c7e10d3

Remove leftover Rust script (#33314)

For now we removed Rust from the codebase, remove this leftover script. Also remove some dupes and Rust related files from `.gitignore`.

Jan Kassens committed May 20, 2025 at 12:20 UTC d38c7e10d3625c550744ce36c623a73c15c2b5d8
2 files changed -26
compiler/.gitignore
-14
@@ -1,28 +1,14 @@
1 .DS_Store
2 .spr.yml
3
4 -# Generated by Cargo
5 -# will have compiled files and executables
6 -debug/
7 -target/
8 -
9 -# These are backup files generated by rustfmt
10 -**/*.rs.bk
11 -
12 -# MSVC Windows builds of rustc generate these, which store debugging information
13 -*.pdb
14 -
4 node_modules
5 .watchmanconfig
6 .watchman-cookie-*
7 dist
8 .vscode
9 !packages/playground/.vscode
21 -.spr.yml
10 testfilter.txt
11
24 -bundle-oss.sh
25 -
12 # forgive
13 *.vsix
14 .vscode-test
compiler/scripts/rustfmt.sh deleted
-12
@@ -1,12 +0,0 @@
1 -#!/usr/bin/env bash
2 -# Copyright (c) Meta Platforms, Inc. and affiliates.
3 -#
4 -# This source code is licensed under the MIT license found in the
5 -# LICENSE file in the root directory of this source tree.
6 -
7 -set -eo pipefail
8 -
9 -# Executes rustfmt using a nightly build of the compiler
10 -# NOTE: this command must exactly match the Rust Lint command in .github/workflows/rust.yml
11 -rustup toolchain list | grep -q nightly-2023-08-01 || (echo "Expected Rust version missing, try running: 'rustup toolchain install nightly-2023-08-01'" && exit 1)
12 -grep -r --include "*.rs" --files-without-match "@generated" crates | xargs rustup run nightly-2023-08-01 rustfmt --config="skip_children=true" "$@"