File
Blob: src/workerd/server/tests/weakref/config.capnp
| 1 | # config.capnp |
| 2 | using Workerd = import "/workerd/workerd.capnp"; |
| 3 | |
| 4 | const config :Workerd.Config = ( |
| 5 | v8Flags = [ "--expose-gc" ], |
| 6 | services = [ |
| 7 | ( name = "main", worker = .worker ), |
| 8 | ], |
| 9 | sockets = [ |
| 10 | ( name = "http", address = "*:0", http = (), service = "main" ), |
| 11 | ] |
| 12 | ); |
| 13 | |
| 14 | const worker :Workerd.Worker = ( |
| 15 | modules = [ |
| 16 | ( name = "./index.mjs", esModule = embed "index.mjs" ) |
| 17 | ], |
| 18 | compatibilityFlags = ["enable_weak_ref"], |
| 19 | ); |
| 20 |