<commit_before>pkg_name=rust
pkg_origin=chef
pkg_version=1.6.0
pkg_license=('Apache-2.0' 'MIT')
pkg_source=https://static.rust-lang.org/dist/${pkg_name}-${pkg_version}-x86_64-unknown-linux-gnu.tar.gz
pkg_dirname=${pkg_name}-${pkg_version}-x86_64-unknown-linux-gnu
pkg_shasum=8630cc02432b4423d64eeae4ef071ec58e5dd1f3d555a3a3cc34b759202813f6
pkg_gpg_key=3853DA6B
pkg_binary_path=(bin)
pkg_lib_dirs=(lib)
pkg_deps=(chef/glibc chef/gcc-libs chef/zlib chef/gcc chef/cacerts)
pkg_build_deps=(chef/patchelf chef/findutils chef/coreutils)

do_build() {
  return 0
}

do_install() {
  ./install.sh --prefix=$pkg_prefix --disable-ldconfig
  patchelf --interpreter "$(pkg_path_for chef/glibc)/lib/ld-linux-x86-64.so.2" \
           --set-rpath "$LD_RUN_PATH" \
           "$pkg_prefix/bin/rustc"
  patchelf --interpreter "$(pkg_path_for chef/glibc)/lib/ld-linux-x86-64.so.2" \<commit_msg>Upgrade Rust to 1.7.0<commit_after>pkg_name=rust
pkg_origin=chef
pkg_version=1.7.0
pkg_license=('Apache-2.0' 'MIT')
pkg_source=https://static.rust-lang.org/dist/${pkg_name}-${pkg_version}-x86_64-unknown-linux-gnu.tar.gz
pkg_dirname=${pkg_name}-${pkg_version}-x86_64-unknown-linux-gnu
pkg_shasum=d36634bd8df3d7565487b70af03dfda1c43c635cd6f2993f47cd61fda00d890a
pkg_gpg_key=3853DA6B
pkg_binary_path=(bin)
pkg_lib_dirs=(lib)
pkg_deps=(chef/glibc chef/gcc-libs chef/zlib chef/gcc chef/cacerts)
pkg_build_deps=(chef/patchelf chef/findutils chef/coreutils)

do_build() {
  return 0
}

do_install() {
  ./install.sh --prefix=$pkg_prefix --disable-ldconfig
  patchelf --interpreter "$(pkg_path_for chef/glibc)/lib/ld-linux-x86-64.so.2" \
           --set-rpath "$LD_RUN_PATH" \
           "$pkg_prefix/bin/rustc"
  patchelf --interpreter "$(pkg_path_for chef/glibc)/lib/ld-linux-x86-64.so.2" \
{'fraction_non_alphanumeric': 0.1543700340522134, 'fraction_numerical': 0.07945516458569807, 'mean_word_length': 5.0793103448275865, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7442672', 'n_tokens_mistral': 832, 'n_tokens_neox': 769, 'n_words': 77}