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 3e263a8 commit dd82921
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 @@ -187,7 +187,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 dd82921

Please sign in to comment.