Skip to content

Commit

Permalink
Update syntax version for fdo
Browse files Browse the repository at this point in the history
  • Loading branch information
gretay-js committed Oct 23, 2019
1 parent 567654a commit df053d4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/dune/workspace.ml
Expand Up @@ -74,7 +74,7 @@ module Context = struct
and+ toolchain =
field_o "toolchain" (Dune_lang.Syntax.since syntax (1, 5) >>> string)
and+ fdo_target_exe =
field_o "fdo" (Dune_lang.Syntax.since syntax (1, 12) >>> string)
field_o "fdo" (Dune_lang.Syntax.since syntax (2, 0) >>> string)
and+ paths =
let f l =
match
Expand Down
2 changes: 1 addition & 1 deletion test/blackbox-tests/test-cases/fdo/dune-project
@@ -1 +1 @@
(lang dune 1.12)
(lang dune 2.0)
2 changes: 1 addition & 1 deletion test/blackbox-tests/test-cases/fdo/dune-workspace.1
@@ -1,4 +1,4 @@
(lang dune 1.12)
(lang dune 2.0)

; this is a test for various ways of specifying an fdo context
; and inferring the names of these contexts from the name
Expand Down
2 changes: 1 addition & 1 deletion test/blackbox-tests/test-cases/fdo/dune-workspace.2
@@ -1,4 +1,4 @@
(lang dune 1.12)
(lang dune 2.0)

; this is a test for various ways of specifying an fdo context
; and inferring the names of these contexts from the name
Expand Down
2 changes: 1 addition & 1 deletion test/blackbox-tests/test-cases/fdo/dune-workspace.3
@@ -1,4 +1,4 @@
(lang dune 1.12)
(lang dune 2.0)

; this is a test for various ways of specifying an fdo context
; and inferring the names of these contexts from the name
Expand Down
2 changes: 1 addition & 1 deletion test/blackbox-tests/test-cases/fdo/dune-workspace.4
@@ -1,4 +1,4 @@
(lang dune 1.12)
(lang dune 2.0)

(context (default
(fdo src/foo.exe)
Expand Down
2 changes: 1 addition & 1 deletion test/blackbox-tests/test-cases/fdo/dune-workspace.5
@@ -1,4 +1,4 @@
(lang dune 1.12)
(lang dune 2.0)

(context (default
(fdo src-with-profile/foo.exe)
Expand Down

0 comments on commit df053d4

Please sign in to comment.