Enables debug info (a.k.a. DWARF) by default (#924)
This makes DWARF enabled by default, with an opt-out flag. This didn't need to be experimental as the feature was requested for a long time and there's no API impact to using it. Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
@@ -50,6 +50,15 @@ func TestRuntimeConfig(t *testing.T) {
|
||||
memoryCapacityFromMax: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "WithDebugInfoEnabled",
|
||||
with: func(c RuntimeConfig) RuntimeConfig {
|
||||
return c.WithDebugInfoEnabled(false)
|
||||
},
|
||||
expected: &runtimeConfig{
|
||||
dwarfDisabled: true, // dwarf is a more technical name and ok here.
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user