conda-forge / rust-feedstock

A conda-smithy repository for rust.
BSD 3-Clause "New" or "Revised" License
7 stars 28 forks source link

rust-src has a wrong install prefix. #143

Closed dingdang66686 closed 1 year ago

dingdang66686 commented 1 year ago

Solution to issue cannot be found in the documentation.

Issue

Rust-src should be installed at $MAMBA_ROOT_PREFIX/Library. After I installed rust-src on windows, I still get "Is rust-src installed? can't load standard library from sysroot" from the rust-analyzer extension in vscode.

Installed packages

bzip2                            1.0.8         h8ffe710_4          conda-forge
  ca-certificates                  2023.5.7      h56e8100_0          conda-forge
  gettext                          0.21.1        h5728263_0          conda-forge
  git                              2.40.1        h57928b3_0          conda-forge
  libexpat                         2.5.0         h63175ca_1          conda-forge
  libffi                           3.4.2         h8ffe710_5          conda-forge
  libiconv                         1.17          h8ffe710_0          conda-forge
  libsqlite                        3.40.0        hcfcfb64_1          conda-forge
  libzlib                          1.2.13        hcfcfb64_4          conda-forge
  micromamba                       1.4.2         2                   conda-forge
  openssl                          3.1.0         hcfcfb64_3          conda-forge
  pip                              23.1.2        pyhd8ed1ab_0        conda-forge
  python                           3.11.3        h2628c8c_0_cpython  conda-forge
  python_abi                       3.11          3_cp311             conda-forge
  rust                             1.69.0        hf8d6059_2          conda-forge
  rust-src                         1.69.0        hd8ed1ab_2          conda-forge
  rust-std-x86_64-pc-windows-msvc  1.69.0        h69312b4_2          conda-forge
  setuptools                       67.7.2        pyhd8ed1ab_0        conda-forge
  starship                         1.14.2        hd956f44_0          conda-forge
  tk                               8.6.12        h8ffe710_0          conda-forge
  tzdata                           2023c         h71feb2d_0          conda-forge
  ucrt                             10.0.22621.0  h57928b3_0          conda-forge
  vc                               14.3          h3d8a991_11         conda-forge
  vc14_runtime                     14.34.31931   h5081d32_16         conda-forge
  vim                              9.0.1425      py311h12c1d0e_0     conda-forge
  vs2015_runtime                   14.34.31931   hed1258a_16         conda-forge
  wheel                            0.40.0        pyhd8ed1ab_0        conda-forge
  xz                               5.2.6         h8d14728_0          conda-forge

Environment info

environment : base (active)
           env location : C:\Users\stray\Local\umamba
      user config files : C:\Users\stray\.mambarc
 populated config files : C:\Users\stray\.condarc
       libmamba version : 1.4.2
     micromamba version : 1.4.2
           curl version : libcurl/7.86.0-DEV Schannel zlib/1.2.13
     libarchive version : libarchive 3.6.1 zlib/1.2.13 liblzma/5.4.0 bz2lib/1.0.8 libzstd/1.5.2
       virtual packages : __win=0=0
                          __archspec=1=x86_64
                          __cuda=11.7=0
               channels : https://mirrors.nju.edu.cn/anaconda/cloud/conda-forge/win-64
                          https://mirrors.nju.edu.cn/anaconda/cloud/conda-forge/noarch
       base environment : C:\Users\stray\Local\umamba
               platform : win-64