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
These constructs are unsafe, since the inner types rely on being stack-allocated to provide safety guarantees, and vectors are heap-allocated. We should write lints to prevent any further instances of these.
Also banning raw *mut JSObject, jsval, *mut JSString, *mut JSFunction, etc. would be extremely useful. It will certainly make them easier to find for #4337.
Activity
jdm commentedon Dec 11, 2014
Also banning raw
*mut JSObject,jsval,*mut JSString,*mut JSFunction, etc. would be extremely useful. It will certainly make them easier to find for #4337.pcwalton commentedon Dec 11, 2014
Can we whitelist the types that a
Rooted/Temporaryare allowed to be contained within?jdm commentedon Dec 11, 2014
That's not a bad idea.
Manishearth commentedon Dec 19, 2014
Also ban
Cell<JS<T>>andCell<JSVal>after #4401 lands, usematch_unwrap_tyfrom #4173.Ban Cell<JS<T>> and Cell<JSVal<T>> (partial servo#4336)
Support for Separated Read Write
nox commentedon Sep 30, 2017
Both
Rooted<T>andTemporary<T>are dead.