tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

Runtime: functions that dereference a context or a value are unsafe (issue #62)

- prims::dup was a safe copy of heap::dup_value: it is gone, and
  dup_value returns its argument like the C tl_dup.
- panic_with dereferences the context: it is now unsafe, and its callers
  say why their context is the running actor's.
- tl_coerce (a safe extern that dups its argument) and
  array::out_of_range (which reads the array) are unsafe.
- The rule, and why contexts stay raw pointers, are in the crate doc;
  tl_alloc documents that it never reads its context, which the safe
  value-building helpers rely on.

C callers are unaffected. Behaviour is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · f8035804014479dcf4dada19dd6030eb891c622e

Parents 52ac916

10 fichiers modifiés, 70 ajouts, 50 suppressions