message: Fix build error on Linux platforms caused by unavailable vasprintf in SwiftGlibc.
diff: // See the License for the specific language governing permissions and
  // limitations under the License.
  +#if os(Linux)
  +import SwiftGlibc
  +#else
  +import Darwin
  +#endif
  +
  import Foundation
  import TensorFlowLiteC
  @@ -331,8 +337,19 @@ extension String {
  /// - cFormat: The format C array as a template for substituting values.
  /// - arguments: A C pointer to a `va_list` of arguments to substitute into `cFormat`.
  init?(cFormat: UnsafePointer<CChar>, arguments: CVaListPointer) {
  +#if os(Linux)
  + let length = vsnprintf(nil, 0, cFormat, arguments) + 1 // null terminator
  + guard length > 0 else { return nil }
  + var buffer = UnsafeMutablePointer<CChar>.allocate(capacity: length)
  + defer {
  + buffer.deallocate()
  + }
  + guard vsnprintf(buffer, length, cFormat, arguments) == length - 1 else { return nil }
  + self.init(validatingUTF8: buffer)
  +#else
  var buffer: UnsafeMutablePointer<CChar>?
  guard vasprintf(&buffer, cFormat, arguments) != 0, let cString = buffer else { return nil }
  self.init(validatingUTF8: cString)
  +#endif
  }
  }
  