GithubHelp home page GithubHelp logo

Support for Kotlin IR Backend about anvil HOT 6 CLOSED

ShikaSD avatar ShikaSD commented on June 28, 2024
Support for Kotlin IR Backend

from anvil.

Comments (6)

vRallev avatar vRallev commented on June 28, 2024

I have CI actions setup with Kotlin 1.4-M2 and they build fine. Do you know when this will start to break? Also note that IR has little value for this project, because Dagger is JVM only.

from anvil.

ShikaSD avatar ShikaSD commented on June 28, 2024

I am not sure when this will be enabled by default, but it is supposed to be new default backend for all the platforms from my understanding. Maybe it is going to be enabled later, but afaik they target 1.4 as a release for this.

Regarding breaking it, I just had IR enabled on my testbed project, so that's why I have noticed it in the first place. As I mentioned, it is still quite early for this, but may become relevant closer to 1.4 release. :)

from anvil.

vRallev avatar vRallev commented on June 28, 2024

Ah, I changed the title. I haven't tested with the new IR backend, yet.

from anvil.

vRallev avatar vRallev commented on June 28, 2024

To enable the IR backend we can use the free compiler args and the -Xuse-ir flag.

from anvil.

vRallev avatar vRallev commented on June 28, 2024

I changed the title to only support the IR backend. I heard that Kotlin 1.4 will be released without it and it'll be optional. It may be required for Kotlin 1.5.

from anvil.

vRallev avatar vRallev commented on June 28, 2024

https://kotlinlang.org/docs/reference/whatsnew14.html#new-jvm-ir-backend

from anvil.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.