So, when I read the solution for a similar post, it did not explain anything more than the fact that compiler needs to do more. However, what exactly does the compiler need to do and where is it doing it?
The box_new intrinnsic replaces rustc_box. Relative to the code you linked, rustc_box only exists in cfg(bootstrap) (~ some previous compiler versions), which means it doesn't exist in 1.86.[1] If you want to dig into the rustc_box mechanics in previous compiler versions, maybe after this PR is a good place to start. A quick skim of the diff indicates it was just another way to get to ExprKind::Box though.
Not in current versions of the compiler (it no longer exists).
Thanks for your response @riking . Do you know how I can use this flag for compiler build? In bootstrap.example.toml, I can see options to pass extra compiler and linker flags to the LLCM CMake build, but not to the compiler that builds the compiler.