Skip to content

Commit

Permalink
Do not generate context names in a clever way
Browse files Browse the repository at this point in the history
Now, we always require local siwtchse to set the name.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
  • Loading branch information
rgrinberg committed Mar 16, 2020
1 parent f9966c0 commit 49f6d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dune/workspace.ml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ module Context = struct
match name with
| Some s -> s
| None -> (
let name = Filename.basename switch ^ Common.fdo_suffix base in
let name = switch ^ Common.fdo_suffix base in
match Context_name.of_string_opt name with
| Some s -> s
| None ->
Expand Down

0 comments on commit 49f6d9c

Please sign in to comment.