github.com/anacrolix/torrent@v1.61.0/webtorrent/setting-engine_js.go (about)

     1  // These build constraints are copied from webrtc's settingengine_js.go.
     2  //go:build js && wasm
     3  // +build js,wasm
     4  
     5  package webtorrent
     6  
     7  import (
     8  	"github.com/pion/webrtc/v4"
     9  )
    10  
    11  // I'm not sure what to do for logging for JS. See
    12  // https://gophers.slack.com/archives/CAK2124AG/p1649651943947579.
    13  var s = webrtc.SettingEngine{}