Giter VIP home page Giter VIP logo

Comments (5)

fmease avatar fmease commented on August 28, 2024

Hey, thanks for your report! This seems to be an incremental compilation bug.
Unfortunately I'm unable to reproduce this as is. Below are my exact steps.
If you are able to consistently reproduce this ICE when renaming the trait,
please tell us the reproduction steps in as much detail as possible. Thanks! :)

git clone https://github.com/tower120/hi_sparse_array.git
cd hi_sparse_array
git checkout 5910c9352d3494084514f68d6a0f684324dea83a
rustup install nightly-2024-05-07 --profile minimal
cargo +nightly-2024-05-07 build
sed -i 's/\bMaybeEmpty\b/Empty/g' **/*.rs
cargo +nightly-2024-05-07 build

from rust.

fmease avatar fmease commented on August 28, 2024

I also tried

  • \b(?<!\[)MaybeEmpty\bEmpty with VS Code search & replace, i.e., every occurrence except intra-doc links like [MaybeEmpty]
  • rust-analyzer's rename
  • sed -i 's/\bMaybeEmpty\b/Empty/g' src/lib.rs (crate root only)

to no avail

from rust.

tower120 avatar tower120 commented on August 28, 2024

I used RustRover for rename. And compiled with CTRL+F9. Also cargo test --tests.

I get such ICE's from time to time, but not consistently. I also CONSTANTLY loose debug capabilities in random files of project. Both VSCode and RustRover says something like "debuggable file does not have debug info" or that it mismatch.

There is bench.bat in project, It compiles and run project with target-cpu=native. Maybe that is the reason? Maybe build system somehow mess with different build configs?

I also have several chains - nightly, stable, and some 1.7x. Project requires nightly mode (but not nightly chain), and I think I changed default chain previously...

from rust.

tower120 avatar tower120 commented on August 28, 2024

Maybe you could walk several revision back from master, and then incrementally one-by-one go forth and try to compile, bench and test at each revision. That rename is in master branch now.

from rust.

pacak avatar pacak commented on August 28, 2024

I couldn't reproduce it either, but I think #126409 might help to deal with that.

from rust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.