authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-10-27 14:27:20-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-10-27 14:27:20-04:00
log4a57913ca0beafd655568fad03463f5e58140015
treea41f965c37ddc2903890748fb05cb07a6c9d76b1
parent73c4a5f1864c16820c1fb332433dedba144df4aa
signaturelock-open Commit is signed but in an unrecognized format.

std.target: use mem instead of std.mem


1 files changed, 4 insertions(+), 4 deletions(-)

lib/std/target.zig+4-4
......@@ -205,7 +205,7 @@ pub const Target = union(enum) {
205205 },
206206 };
207207
208 pub fn zigTriple(self: Target, allocator: *std.mem.Allocator) ![]u8 {
208 pub fn zigTriple(self: Target, allocator: *mem.Allocator) ![]u8 {
209209 return std.fmt.allocPrint(
210210 allocator,
211211 "{}{}-{}-{}",
......@@ -216,13 +216,13 @@ pub const Target = union(enum) {
216216 );
217217 }
218218
219 pub fn allocDescription(self: Target, allocator: *std.mem.Allocator) ![]u8 {
219 pub fn allocDescription(self: Target, allocator: *mem.Allocator) ![]u8 {
220220 // TODO is there anything else worthy of the description that is not
221221 // already captured in the triple?
222222 return self.zigTriple(allocator);
223223 }
224224
225 pub fn zigTripleNoSubArch(self: Target, allocator: *std.mem.Allocator) ![]u8 {
225 pub fn zigTripleNoSubArch(self: Target, allocator: *mem.Allocator) ![]u8 {
226226 return std.fmt.allocPrint(
227227 allocator,
228228 "{}-{}-{}",
......@@ -232,7 +232,7 @@ pub const Target = union(enum) {
232232 );
233233 }
234234
235 pub fn linuxTriple(self: Target, allocator: *std.mem.Allocator) ![]u8 {
235 pub fn linuxTriple(self: Target, allocator: *mem.Allocator) ![]u8 {
236236 return std.fmt.allocPrint(
237237 allocator,
238238 "{}-{}-{}",