No brakes on the fix train
Some checks are pending
CI / Build mode ${{ matrix.build_mode }} () (push) Waiting to run
CI / Build mode ${{ matrix.build_mode }} (-Drelease-fast) (push) Waiting to run
CI / Build mode ${{ matrix.build_mode }} (-Drelease-safe) (push) Waiting to run
CI / Build mode ${{ matrix.build_mode }} (-Drelease-small) (push) Waiting to run
Some checks are pending
CI / Build mode ${{ matrix.build_mode }} () (push) Waiting to run
CI / Build mode ${{ matrix.build_mode }} (-Drelease-fast) (push) Waiting to run
CI / Build mode ${{ matrix.build_mode }} (-Drelease-safe) (push) Waiting to run
CI / Build mode ${{ matrix.build_mode }} (-Drelease-small) (push) Waiting to run
This commit is contained in:
parent
98d876b18c
commit
66d15e8945
2 changed files with 10 additions and 10 deletions
|
|
@ -193,7 +193,7 @@ pub const RuntimeStep = struct {
|
|||
/// Error.TestFailed - The error if the test failed.
|
||||
///
|
||||
fn make(step: *Step) (Thread.SpawnError || ChildProcess.SpawnError || Allocator.Error || Error)!void {
|
||||
const self = @fieldParentPtr(RuntimeStep, "step", step);
|
||||
const self: RuntimeStep = @fieldParentPtr("step", step);
|
||||
|
||||
// Create the qemu process
|
||||
self.os_proc = try ChildProcess.init(self.argv, self.builder.allocator);
|
||||
|
|
@ -254,7 +254,7 @@ pub const RuntimeStep = struct {
|
|||
};
|
||||
|
||||
// put line in the queue
|
||||
var node = self.builder.allocator.create(Node) catch unreachable;
|
||||
const node = self.builder.allocator.create(Node) catch unreachable;
|
||||
node.* = .{ .next = null, .data = line };
|
||||
self.msg_queue.put(node);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue