:aot :all-with-unused required? Or recommended? #76

Closed
wiseman opened this Issue Dec 17, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@wiseman

wiseman commented Dec 17, 2013

Some libraries will build with :aot :all but not with :aot :all-with-unused (e.g. see ptaoussanis/timbre#35). Is :all-with-unused required, or a good idea? If not, should it be changed in the template to :aot :all?

@alexander-yakushev

This comment has been minimized.

Show comment Hide comment
@alexander-yakushev

alexander-yakushev Feb 4, 2015

Owner

OK, this is really embarrassing that I answer this question only now. I suppose the problem is solved long ago, but still.

:all-with-unused is not required, although it is convenient in Android case because it ensures all namespaces to be present on the device during development. Otherwise you will have to manually load namespaces that you suddenly want to start using, which takes solid seconds and is quite annoying.

If some libraries don't work well with :all-with-unused you can always add the conflicting namespaces to :aot-exclude-ns map.

OK, this is really embarrassing that I answer this question only now. I suppose the problem is solved long ago, but still.

:all-with-unused is not required, although it is convenient in Android case because it ensures all namespaces to be present on the device during development. Otherwise you will have to manually load namespaces that you suddenly want to start using, which takes solid seconds and is quite annoying.

If some libraries don't work well with :all-with-unused you can always add the conflicting namespaces to :aot-exclude-ns map.

@wiseman

This comment has been minimized.

Show comment Hide comment
@wiseman

wiseman Feb 4, 2015

OK, thanks for the answer!

wiseman commented Feb 4, 2015

OK, thanks for the answer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment