all 9 comments

sorted by: hot top controversial new old
[–] 14 points 6 months ago* (4 children)

You can't.

Mobile application require strange wrappings and packagings to run native code like that.

On android you could potentially use termux and build from source for aarch64, but iOS doesn't have anything like that.

Furthermore, iOS is very locked down, so running some random source from GitHub is essentially impossible without proper developer tools and a mac to run them.

  • source
  • hideshow 4 child comments
  • [–] [S] 1 point 6 months ago* (last edited 6 months ago) (3 children)

    I wonder if i can run it with a-shell, its a terminal/linux app for ios i use for downloading videos

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 6 months ago (2 children)

    I think things still need to be compiled specifically for a-shell, you can't just run a random binary. Also iOS is more closely related to BSD, so Linux apps wouldn't work anyway.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 6 months ago

    I used to write C++ and compile + run it on a jailbroken iPhone. It worked fine but obviously had no access to most of the Apple hardware, interfaces, or anything else.

  • source
  • [–] 3 points 6 months ago

    Can iOS even run rust applications? What is the repo?

  • source
  • [–] 2 points 6 months ago
    [–] 2 points 6 months ago

    Youd have to bridge it into swift or objective c using the c interop system and then then manually invoke main.

  • source