Skip to content
Snippets Groups Projects
  1. May 24, 2022
  2. May 23, 2022
  3. May 20, 2022
  4. May 19, 2022
  5. May 17, 2022
    • Nick Mathewson's avatar
      Fix compilation with Rust 1.56. · c70916c0
      Nick Mathewson authored
      c70916c0
    • Nick Mathewson's avatar
      5de1b931
    • Nick Mathewson's avatar
      DirMgr: Unify error return paths · 53ed5f40
      Nick Mathewson authored
      We no longer have separate return paths for recoverable and fatal
      errors; instead, they are merged, and distinguished based on
      recovery actions.
      
      Since it is now possible for download() to give an error that should
      _not_ destroy the previous state, it takes `&mut Box<dyn DirState>`.
      This change unfortunately means that we can no longer call `state =
      state.advance()`, but instead have to do some mem::swap junk with
      poisoned values.  Any better solution would be a good thing.
      
      Additionally, the reset() and advance() methods can no longer fail.
      
      There is still a separate return path for reset-triggering errors;
      I'm about to fix that.
      53ed5f40
    • Nick Mathewson's avatar
      Merge branch 'backtrace' into 'main' · 6450a411
      Nick Mathewson authored
      Do backtrace string matching test only on some platforms.
      
      See merge request tpo/core/arti!512
      6450a411
Loading