[Bug rust/124233] MinGW-w64 gcc/rust build issues due to missing open_memstream()

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 24 20:43:46 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124233

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-02-24
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
```
static std::string
generate_tree_str (tree value)
{
  pretty_printer pp;
  dump_generic_node (&pp, t, 0, flags, true);
  std::string result = pp_formatted_text (&pp);

  if (!result.empty () && result.back () == '\n')
    result.pop_back ();

  return result;
}
```


More information about the Gcc-bugs mailing list