ocaml/dune

Add support for assembly language for foreign_stubs

Ouverte

#3 342 ouverte le 8 avr. 2020

 (3 commentaires) (0 réaction) (0 personne assignée)OCaml (478 forks)github user discovery
good first issue

Métriques du dépôt

Stars
 (1 882 étoiles)
Métriques de merge PR
 (Merge moyen 1j 20h) (345 PRs mergées en 30 j)

Description

The doc for foreign_stubs says:

language specifies the source language, where c means C and cxx means C++. In future, more languages may be supported.

It would be nice to add support for .S files too ; generally they can just be passed to the underlying C compiler just fine ; I'm not fully sure of what should be the assembly flags. I think keeping the flags as C by default should generally work.

Guide contributeur