You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
main's argument vector can't be logged or compared properly #2639
Since I changed shape glue to treat vectors as boxes containing an unboxed vector, glue operations don't work on the vector main is given. This is because the runtime doesn't now how to construct a type descriptor to put in the box, so the shape glue gives up. This would also happen for other arrays returned by the runtime, like the environment.
The ideal solution might be to not ever need to build rust vectors from the C++ runtime code, but the straightforward solution is for the runtime to have hardcoded type descriptors for the vectors it creates.
Activity
eholk commentedon Jun 18, 2012
Could we build the args vector using crust functions in libcore?
catamorphism commentedon Nov 24, 2012
mainno longer takes an argument vector, yay! Closing.Auto merge of rust-lang#2639 - RalfJung:rustup, r=RalfJung
Auto merge of rust-lang#2639 - RalfJung:rustup, r=RalfJung
Merge pull request rust-lang#2639 from rust-lang/tshepang/default-branch