Skip to content

Snapshot compatibility #23834

@gmalakov

Description

@gmalakov

I have a problem. When I want to deploy an app to a server. I create snapshot. Before version 1.11 I was able to create snapshot on my windows machine and upload it to a linux server without a problem. Now when I create snapshot with 1.11.1 on windows x32 and upload to a linux x64 with the exactly same version of dart 1.11.1 i get the message "Segmentation fault".
Dart snapshot compatibility is a great problem because otherwise I have to upload the whole source tree to the server leaving my code unprotected like it's in php and etc. I hope solution for this will come out soon.
I'm now able to do dart2js --output-type=dart --categories=Server app.dart --out=out.dart
But script says it's deprecated and will not be available on the next version and it leaves also unprotected code.

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions