github.com/primecitizens/pcz/std@v0.2.1/core/yield/asm_wasm.s (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  //
     4  // Copyright 2018 The Go Authors. All rights reserved.
     5  // Use of this source code is governed by a BSD-style
     6  // license that can be found in the LICENSE file.
     7  
     8  //go:build wasm
     9  
    10  #include "textflag.h"
    11  
    12  TEXT ·Proc(SB),NOSPLIT,$0-0 // FIXME
    13  	RET
    14  
    15  TEXT ·Thread(SB),NOSPLIT,$0-0
    16  	I32Const $1
    17  	Set PAUSE
    18  	RETUNWIND