logging: rename crypto scope to random (#1070)
This is to avoid a collision with an emerging wasi-crypto. They will have both wasi-random and wasi-crypto Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
@@ -16,7 +16,7 @@ func Test_crypto(t *testing.T) {
|
||||
|
||||
var log bytes.Buffer
|
||||
loggingCtx := context.WithValue(testCtx, experimental.FunctionListenerFactoryKey{},
|
||||
logging.NewHostLoggingListenerFactory(&log, logging.LogScopeCrypto))
|
||||
logging.NewHostLoggingListenerFactory(&log, logging.LogScopeRandom))
|
||||
|
||||
stdout, stderr, err := compileAndRun(loggingCtx, "crypto", wazero.NewModuleConfig())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user