Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tsl] Implement
tsl::NullTerminatedMessage()
in terms of `absl::Sta…
…tusMessageAsCStr()` * This allows TF to outsource correct acquisition of a null-terminated C-string of the status message to the Abseil library itself * The previous implementation happened to work currently, but depended on internal implementation details of `absl::Status::message()` (namely, that when the message isn't empty, the returned `absl::string_view` is backed by a null-terminated `std::string`) * Unfortunately we currently have to duplicate the definition depending on the platform due to linker-issues in the Windows build PiperOrigin-RevId: 625785085
- Loading branch information