Unverified Commit d9fd4d6f authored by Vyacheslav Egorov's avatar Vyacheslav Egorov Committed by GitHub

Make sure to pass strong mode options down to gen_snapshot (#14118)

parent 299ddb43
......@@ -346,6 +346,13 @@ Future<String> _buildAotSnapshot(
printError('Compiler terminated unexpectedly.');
return null;
}
if (strongMode) {
genSnapshotCmd.addAll(<String>[
'--reify-generic-functions',
'--strong',
]);
}
}
genSnapshotCmd.add(mainPath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment