Skip to content

Commit

Permalink
Switched extra::json to using rt::io.
Browse files Browse the repository at this point in the history
Unfortunately, due to rust-lang#8579 and rust-lang#6551, extra::workcache can't be made to
work with the new extra::json.  Either ICEs are cause (which is the
state currently) or there are unconstrained types at the callsites for
extra::work_cache::json_encode.
  • Loading branch information
brandonson committed Aug 24, 2013
1 parent 6a1bfae commit 4b4dbe8
Show file tree
Hide file tree
Showing 3 changed files with 148 additions and 135 deletions.
4 changes: 4 additions & 0 deletions src/libextra/flatpipes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,9 @@ pub mod flatteners {
fn from_writer(w: @Writer) -> Self;
}

//No longer works due to json now using rt::io
//Update when this module changes to rt::io as well?
/*
impl FromReader for json::Decoder {
fn from_reader(r: @Reader) -> json::Decoder {
match json::from_reader(r) {
Expand All @@ -487,6 +490,7 @@ pub mod flatteners {
json::Encoder(w)
}
}
*/

impl FromReader for ebml::reader::Decoder {
fn from_reader(r: @Reader) -> ebml::reader::Decoder {
Expand Down
Loading

0 comments on commit 4b4dbe8

Please sign in to comment.